http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi20.htm#wp346877
0

and the XML and XSLT in ColdFusion MX PDF here

http://www.macromedia.com/devnet/mx/coldfusion/xml_xslt.html

should tell you all you need.

Ade

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: 26 April 2005 03:14
To: CF-Talk
Subject: Stupid XML question


OK.  First I must confess I don't work with XML hardly at all.  That
will be obvious I guess.

I am using SOXML to convert an xml string into something I can use.

<!--- http://66.165.78.2/testoutput.cfm: --->
<cfset variables.thisxml="<?xml version=""1.0"" encoding=""UTF-8""?>
<ww_javagame> <ww_cpid>0425070052843</ww_cpid>
<ww_statuscode>2001</ww_statuscode><ww_statusmsg>woo
hoo</ww_statusmsg> </ww_javagame>">
<cf_SOXML
        action="XML2CF"
        input="#variables.thisxml#"
        output="myXML">
<cfdump var="#myxml#" label="myXML">

It produces a nested structure (you can view the cfdump for this code
at the url above).

How the heck would I reference individual values in my CF?  I tried

#myXML.ww_javagame.ww_cpid.value# and my error handler just laughed.
What stupid mistake am I making this evening?

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204421
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to