RE: query to outout an xml file

2003-10-17 Thread cf
ty Matthew



> It's actually pretty easy. XML is just text. Create a variable with your
> XML, then use cffile to write it. Something like:
>
>
>
> 
>
>
>
> 
> encoding="iso-8859-1"?>
>
> 
>
> 
>
> 
> jpegURL="asdfg">zxcvb
>
> 
>
> 
>
> 
>
>
>
> 
>
>
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, 17 October 2003 9:53 a.m.
> To: CF-Talk
> Subject: query to outout an xml file
>
>
>
> i know nothing about xml so any help would be appriciated
>
> im making a slideshow in flash that draws the images out of a folder and
> is read by an xml file to import them into flash
>
> flash needs to read the xml file which i just have as slides.xml
> the xml looks like this
>
> 
>   Picture
> Description. 
> jpegURL="images/image2.jpg">Picture Description.
> Picture
> Description. 
> jpegURL="images/image4.jpg">Picture Description.
> Picture Description
> 
>
> but what i would like to do is have this xml file made dynamic so I can
> upload images via coldfusion and then do a db query to get the xml file
> so i dont have to manually update it everytime a pic is added. But the
> file needs to be an xml file & not a cfm file, so how in the heck do i
> do that?
>
> ty:)
>
>
>
>
>   _
>
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: query to outout an xml file

2003-10-16 Thread Matthew Walker
It's actually pretty easy. XML is just text. Create a variable with your
XML, then use cffile to write it. Something like:










jpegURL="asdfg">zxcvb











-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, 17 October 2003 9:53 a.m.
To: CF-Talk
Subject: query to outout an xml file

i know nothing about xml so any help would be appriciated

im making a slideshow in flash that draws the images out of a folder and
is read by an xml file to import them into flash

flash needs to read the xml file which i just have as slides.xml
the xml looks like this


  Picture Description.
  Picture Description.
  Picture Description.
  Picture Description.
  Picture Description


but what i would like to do is have this xml file made dynamic so I can
upload images via coldfusion and then do a db query to get the xml file so
i dont have to manually update it everytime a pic is added. But the file
needs to be an xml file & not a cfm file, so how in the heck do i do that?

ty:)


  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]