This post may help. http://www.talkingtree.com/blog/index.cfm/2005/11/18/XmlSearchNoNameName space
m!ke -----Original Message----- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 4:50 PM To: CF-Talk Subject: XML Expert help with namespaces.. (Isaac???) I am having trouble searching this xml string returned from the google maps geocoding service. The reason is to do with the xmlns for the AddressDetails XML. Here is the xml (I wish I could tab it!): <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.0"> <Response> <name>godalming, surrey, GB</name> <Status> <code>200</code> <request>geocode</request> </Status> <Placemark id="p1"> <address>Godalming, Surrey, UK</address> <!-- THE TROUBLESOME BIT --> <AddressDetails Accuracy="4" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0 "> <Country> <CountryNameCode>GB</CountryNameCode> <AdministrativeArea> <AdministrativeAreaName>England</AdministrativeAreaName> <SubAdministrativeArea> <SubAdministrativeAreaName>Surrey</SubAdministrativeAreaName> <Locality> <LocalityName>Godalming</LocalityName> </Locality> </SubAdministrativeArea> </AdministrativeArea> </Country> </AddressDetails> <Point> <coordinates>-0.617529,51.184425,0</coordinates> </Point> </Placemark> </Response> </kml> Ok, so doing like this gets a result: <cfset foo = XMLSearch(theXml, "//:Response") But this won't: <cfset foo = XMLSearch(theXml, "//:AddressDetails")> How should I be referencing the AddressDetails nodes? (I have double checked case sensitivity, not the problem) Thanks in advance, Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:300628 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4