Stripping XML Name Spaces And Node Prefixes From ColdFusion XML Data (To Simplify XPath)

<!---
	Parse the XStandard SOAP request XML into a ColdFusion XML
	document object. Be sure to trim the XML so that it
	parses properly.
--->
<cfset xmlRequest = XmlParse(
	strXml.Trim()
	) />
 
 
<!--- Search for the "searchFor" XML node using XPath. --->
<cfset arrSearchNodes = XmlSearch(
	xmlRequest,
	"//searchFor"
	) />

For Cut-and-Paste