Arghh, list delay. I had replied to my own post stating that was a typo
in the example not the actual code.


-----Original Message-----
From: Rob Rohan [mailto:rob@;cardinalweb.com] 
Sent: Tuesday, October 29, 2002 11:11 AM
To: CF-Talk
Subject: RE: cfxml question


It's bad xml

<RESULT>Passed</STATUS>

needs to end with </RESULT>

-----Original Message-----
From: Scott Mulholland [mailto:smulholland@;accurateimaging.com]
Sent: Tuesday, October 29, 2002 7:58 AM
To: CF-Talk
Subject: cfxml question


I am creating a small bit of sample XML, and posting it via form to a
page to parse it.

When I create the XML by simply setting myXML=" all XML code here", it
works fine with XMLParse() and dot notation referencing of values.

When I create my xml using <cfxml></cfxml>,
I get the following error when trying to parse:
"Document Root Element is Missing."

This is what the XML variable contains also when it hits this page:
coldfusion.xml.XmlNodeList@7210a5

My cfxml call is below:

<cfxml variable="myXML">
 <CONTROL>
    <ID>100</ID>
    <KEY>200</KEY>
    <DATE>10252002</DATE>
    <ITEM>
        <STATUS>
            <RESULT>Passed</STATUS>
            <STATUS_DATE>10252002</STATUS_DATE>
        </STATUS>
    </ITEM>
  </CONTROL>
</cfxml>

Any ideas on this?

Thanks,
Scott



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to