This works, to a point. It will, at least, get your information into an array where you can access it a bit easier.
<cfset results = xmlSearch(xmlPacket, "/soap:Envelope/soap:Body/child::*")> You have to account for the namespaces, if any, as well as the elements, in your xml packet. I ran into this issue yesterday. Here is the source of my solution: http://www.talkingtree.com/blog/index.cfm/2005/11/18/XmlSearchNoNameName space M!ke -----Original Message----- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 4:00 PM To: CF-Talk Subject: Xpath Help Having some XmlSearch problems, need help, totally stuck, For some reason, the "results" object is not returning any results on "//doDirectorySearch". But, from the xml being saved below, it looks like it should totally work. I also tried "//[EMAIL PROTECTED]" thinking that it was an attribute issues, but no luck on that either. Thanks in advance! ------------------------------------------------ <cfsetting showdebugoutput="false" /> <cfsavecontent variable="strXmlData" ><?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <doDirectorySearch xmlns="http://xstandard.com/2004/web-services"> <lang>en</lang> <searchFor>xxxxxxxxxxx</searchFor> <filterBy>snippets</filterBy> </doDirectorySearch> </soap:Body> </soap:Envelope> </cfsavecontent> <cfset xmlData = XmlParse( strXmlData, true ) /> <cfset results = XmlSearch( xmlData, "//doDirectorySearch" ) /> <cfdump var="#results#" /> <cfdump var="#xmlData#" /> ........................ Ben Nadel www.bennadel.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240842 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54