Also remember that you can have an entire path, not just one element,
searched with the name() function:

"/*[name()='PostalCodeNumber']/*[name=()'ChildElem1']" 

I may not have the exact syntax correct, but you should get the gist of
it.

M!ke

-----Original Message-----
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 11, 2006 2:02 PM
To: CF-Talk
Subject: RE: XPath help

I have had problems with name spaces in Xpath... Someone gave me this
little gem which searches on the tag name:

XmlSearch( GeoCodeXML, "//*[name()='PostalCodeNumber']" ) 

This will search for any tag anywhere with name PostalCodeNumber. Not
sure if that will work or cause problems as it might return more than
one node??
Not that great with Xpath.

........................
Ben Nadel
www.bennadel.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246164
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to