« Missing context-root causes resource not found error | Main | Resolving cfform.js and masks.js not found errors when working with cfform »

November 7, 2006

ColdFusion MX 6 & 7: XMLSearch() fails to return matching nodes when the XML document specifies a default namespace declaration

(TechNote) In ColdFusion MX 6 and ColdFusion MX 7, when you use XMLSearch() to run an XPath query using abbreviated syntax on an XML document that uses one or more default namespace declarations, the result may be that no nodes are matched. The problem isn't so much with XMLSearch() as it is with understanding how to use the XPATH expression language. This article describes how to write an XPATH expression that can deal with these special cases.

Posted by dmorris at November 7, 2006 5:27 AM

Related Entries