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:240837
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