<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 7 - htmldocs - 00001513.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T02:31:55</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66924" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66676" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#52188" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66924">
		<title>coldfusion/7/htmldocs/00001513.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66924</link>
		<description>Maplesoft is partially correct.&lt;br&gt;The example in the doc is misformed.&lt;br&gt;To correct it, the line with the XmlParse function should be as follows:&lt;br&gt;&lt;br&gt;&lt;cfset myXMLDocument=XmlParse(&quot;C:\temp\myxmldoc.xml&quot;)&gt;&lt;br&gt;&lt;br&gt;The 'variable=&quot;' was a typo. &lt;br&gt;You can use a file path directly in the XmlParse function.&lt;br&gt;&lt;br&gt;Maplesoft's version also has an error: &lt;br&gt;The XMLFileText parameter to the XmlParse function should not be in quotes.&lt;br&gt;When it is in quotes it is treated as a string, not a variable name.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2007-05-16T13:41:56</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66676">
		<title>coldfusion/7/htmldocs/00001513.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#66676</link>
		<description>In the section &quot;Creating an XML document object from existing XML&quot;&lt;br /&gt;     In the line that begins with: &lt;br /&gt;&quot;The following example converts an XML text document...&quot;&lt;br /&gt;  The example seems scrambled and incomplete.&lt;br /&gt;&lt;br /&gt;If it were complete, I think it should be :&lt;br /&gt;&lt;br /&gt;The following example converts an XML text document &lt;u&gt;that&lt;/u&gt; is in a file to an XML document object:&lt;br /&gt;&lt;cffile action=&quot;read&quot;  file=&quot;C:\temp\myxmldoc.xml&quot; variable=&quot;XMLFileText&quot;&gt;&lt;br /&gt;&lt;cfset myXMLDocument=XmlParse(&quot;XMLFileText&quot;)&gt;</description>
		<dc:creator>maplesoft</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-05-11T15:06:19</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#52188">
		<title>coldfusion/7/htmldocs/00001513.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00001513.htm#52188</link>
		<description>The last code sample for the page is incorrect. Based on the code provided above to create the XML document, the code sample to actually save the file must be modified.&lt;br /&gt;&lt;br /&gt;it should read:&lt;br /&gt;&lt;cfset XMLText=ToString(MyDoc)&gt;&lt;br /&gt;&lt;cffile action=&quot;write&quot; file=&quot;D:\inetpub\vhosts\tylerwanlass.com\httpdocs\spry\data\xmlTest.xml&quot; output=&quot;#XMLText#&quot;&gt;&lt;br /&gt;&lt;br /&gt;Note that the var in parenthesis, MyDoc, reflects the root element of the XML doc created. The provided var in the code, myXMLDocument, will not work.</description>
		<dc:creator>GameDev</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-08-23T12:08:43</dc:date>
	</item>
	</rdf:RDF>

