Hm this is an odd one. I think it is to do with the element names beginning
with 'XML'. Please someone correct me if I am wrong but I think that that is
not well formed xml, element names must not begin with 'XML'. If you remove
the XML from the tag names, the code works.

If you have no control over the format of this xml, this will work:

<cffile action="read" file="d:/inetpub/wwwroot/x2.xml" variable="infile">
<cfset x2 = XmlParse(infile)>
<cfset statusXML = XMLSearch(x2, "//XMLTrans/status")>
<cfset x = statusXML.XmlText>

Regards,

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295472
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to