oi Mark!! yeap, cheers. that is why i was getting the error. I still had an xmlformat() on the variable. I had read that it escapes what is needed, and when i first threw it in there it allowed me to get past my other errors... so i thought it was the correct thing.
preciate the look. thanks Crit ------------------------------------ Wednesday, June 4, 2003, 11:50:10 PM, you wrote: MAKC> Critz, MAKC> The snippet below validates ok so it should load ok. I always save these in MAKC> a file and use IE to display them - or (as has been suggested) use XML spy. MAKC> Tell me how you used XMLformat to solve the problem? If the feed is not in MAKC> your control I'm not sure how you could effectively do that. Did you apply MAKC> XML format to a variable containing the whole doc? If so you will MAKC> automatically invalidate the doc because (for example) it will change: MAKC> <rss version="0.91" encoding="ISO_8859-1"> MAKC> to: MAKC> <rss version="0.91" encoding="ISO_8859-1"> MAKC> XML format is not for xml documents "after the fact" but for variables you MAKC> intend to insert as elements or attributes into an XML doc or object. You MAKC> should be formatting the VALUES of the attributes and elements - not the MAKC> TAGS themselves. MAKC> Check out this test page of your snippet. MAKC> http://dev.mxconsulting.com/testXml.cfm MAKC> ...The code is listed here below. MAKC> -mark MAKC> -------------- sample code ----------------------------------------- MAKC> <cfsaveContent variable="myXmlcontent"><?xml version="1.0"?> MAKC> <rss version="0.91" encoding="ISO_8859-1"> MAKC> <title>BME Newsfeed</title> MAKC> <description>A collection of body modification news articles as collected MAKC> by BMEzine.com</description> MAKC> <link>http://www.bmezine.com/</link> MAKC> <language>en-us</language> MAKC> <item> MAKC> <title>USA: The bod-mod crowd is facing a split decision</title> MAKC> <link>http://www.timesdispatch.com/flair/MGBR85MHIGD.html</link> MAKC> <description>Jun 4</description> MAKC> </item> MAKC> <item> MAKC> <title>ON: Indelible injections on canvas</title> MAKC> <link>http://www.thestar.com/NASApp/cs/ContentServer?pagename=thestar/Layout MAKC> /Article_Type1&c=Article&cid=1052251727349&call_pageid=968867495 MAKC> 754&col=969483191630</link> MAKC> <description>Jun 4</description> MAKC> </item> MAKC> </rss></cfsavecontent> MAKC> <h4>RAW xml</h4> MAKC> <PRE><cfdump var="#myXmlcontent#"> MAKC> </PRE> MAKC> <cfset myXmlcontent = XmlFormat(myXmlcontent)> MAKC> <h4>XML after xmlformat( )</h4> MAKC> <pre><cfdump var="#myXmlcontent#"> MAKC> </PRE> MAKC> <cfxml variable="myXml"><?xml version="1.0"?> MAKC> <rss version="0.91" encoding="ISO_8859-1"> MAKC> <title>BME Newsfeed</title> MAKC> <description>A collection of body modification news articles as collected MAKC> by BMEzine.com</description> MAKC> <link>http://www.bmezine.com/</link> MAKC> <language>en-us</language> MAKC> <item> MAKC> <title>USA: The bod-mod crowd is facing a split decision</title> MAKC> <link>http://www.timesdispatch.com/flair/MGBR85MHIGD.html</link> MAKC> <description>Jun 4</description> MAKC> </item> MAKC> <item> MAKC> <title>ON: Indelible injections on canvas</title> MAKC> <link>http://www.thestar.com/NASApp/cs/ContentServer?pagename=thestar/Layout MAKC> /Article_Type1&c=Article&cid=1052251727349&call_pageid=968867495 MAKC> 754&col=969483191630</link> MAKC> <description>Jun 4</description> MAKC> </item> MAKC> </rss></cfxml> MAKC> <h4>Xml after loading using cfxml</h4> MAKC> <cfdump var="#myXml#"> MAKC> ---------------------------------------------------------------------- MAKC> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

