This may helpful: http://fusion.dominicwatson.co.uk/2008/03/xmlsearch-and-default-namespaces.html
Dominic 2009/10/26 Ian Skinner <[email protected]> > > Dave Watts wrote: > > I'm pretty sure you'll need to use local-name to get to this, though; > > dealing with namespaces from CF isn't all that easy. > Is it just difficult or is it impossible? That is the point of this > exercise. The teach myself how namespaces actually work. > > Playing with this bit of code in an xslt transformation. > <xsl:value-of select="local-name()"/> - <xsl:value-of > select="namespace-uri()"/> > > I see that the 'standards' node is part of the > 'urn:description6.kp.chrome.com' namespace. Is there anyway to pass > that into the ColdFusion xmlSearch() function? > > I was able to work with the simpler "S" namespace used in the root and > subroot nodes. This xmlSearch() function returned the expected results. > xmlSearch(xmlObj,'//S:Body') > > But I have not figured out any proper way to correctly reference the > more complex 'urn:description6.kp.chrome.com' namespace. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

