Mike, You rock! I would like to modify it to be:
//*[name()='searchFor'] Since in only care about the searchFor node and not in it's relations to other elements; I know what the xml data is going to look like and am not worries about finding the wrong element. Any red flags about my way considering the small amount of data? ....................... Ben Nadel www.bennadel.com -----Original Message----- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 5:27 PM To: CF-Talk Subject: RE: Xpath Help Ahhh. This is what I was originally going for... xmlSearch(xmlPacket, "/soap:Envelope/soap:Body/*[name()='doDirectorySearch']/child::*") This search will return all child elements, of doDirectorySearch, with each element as an array item. The problem, with your xml, is that you have namespaces for "Envelope" and "Body", but no namespace for "doDirectorySearch". So, you have to search on a "name()" that is "doDirectorySearch" within your xml packet. M!ke ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240845 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