But i need to get the Query to happen inside the XML file
06-23-2009, 03:35 PM
TiGGi
what you can do is generate and save xml file using cfsavecontent/cffile tag or you can use .cfm file instead of .xml that would output data in the xml format you need.
06-29-2009, 12:02 PM
moiseszaragoza
1 Attachment(s)
I am using a Flash file that calls gallery.xml
its hardcoded into the flash and i cant edit the flash file.
the code in my page looks like
PHP Code:
<cfsavecontent variable="gallery">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<gallery frameColor="0xFFFFFF" frameWidth="15" imagePadding="20" displayTime="6" enableRightClickOpen="true">
<image>
<url>http://www.modelproductions.com/proimages/avatar9.jpg</url>
<caption><![CDATA[<font size="50">Example Gallery</font><br>An example large format <u><a href="http://www.airtightinteractive.com/projects/autoviewer">AutoViewer</a></u> gallery.]]></caption>
<width>269</width>
<height>317</height>
</image>
<image>
<url>http://www.modelproductions.com/proimages/avatar9.jpg</url>
<caption>Pellentesque turpis leo, dignissim ac, vestibulum quis, hendrerit quis, enim.</caption>
<width>465</width>
<height>700</height>
</image>
<image>
<url>http://www.modelproductions.com/proimages/avatar9.jpg</url>
<caption><![CDATA[Captions can be HTML formatted. Supported tags are <b>bold</b>, <u>underline</u>, <i>italics</i>, <u><a href="http://www.google.com" target="_blank">hyperlinks</a></u>, linebreaks<br> and <font color="#ffff00" size="60">font tags</font>.]]></caption>
<width>700</width>
<height>465</height>
</image>
</gallery>
</cfsavecontent>