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

<!--- Store the XStandard SOAP XML. --->
<cfsavecontent variable="strXml">
 
	<?xml version="1.0" encoding="UTF-8"?>
	<soap:Envelope
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema"
		xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 
		<soap:Body>
 
			<doDirectorySearch
				xmlns="http://xstandard.com/2004/web-services">
 
				<lang>en</lang>
				<searchFor>Smith</searchFor>
				<filterBy>staff</filterBy>
 
			</doDirectorySearch>
 
		</soap:Body>
 
	</soap:Envelope>
 
</cfsavecontent>

For Cut-and-Paste