> > It doesn't know how to pick up the sub-node's namespace using > namespace-uri()?
Sure it does. Actually I've been using local-name()="elementName". However, my XPath statement is reasonably complex and is quite unreadable because of this. Wouldn't be so bad using some arbritary prefix that was mapped to the namespace. Here's the XPath (working): <cfset coords = XMLSearch(response, '//*[local-name()="AddressDetails"]/*[local-name()="Country"]/*[local-name()="AdministrativeArea"]/*[local-name()="AdministrativeAreaName" and text() = "England"]/following-sibling::*[local-name()="SubAdministrativeArea"]/*[local-name()="SubAdministrativeAreaName" and text()="#county#")]/following-sibling::*[local-name()="Locality"]/*[local-name()="LocalityName" and text()="#town#"]/ancestor::*[local-name()="Placemark"]/:Point/:coordinates')> How it would look with prefixes: <cfset coords = XMLSearch(response, '//a:AddressDetails/a:Country/a:AdministrtitaveArea[a:AdministrativeAreaName="England"]/following-sibling::a:SubAdministritaveArea[a: SubAdministritaveAreaName="#county#"]/following-sibling::a:Locality[LocalityName="#town#"]/ancestor::x:Placemark/x:Point/x:coordinates')> Still pretty big but far more readable, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:300773 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4