Nylon Technology Presentation: Introduction To XPath And XmlSearch() In ColdFusion

<!---
	Get all date dateadded attribute nodes
	that are children of the movie nodes.
--->
<cfset arrNodes = XmlSearch(
	xmlData,
	"movies/movie/@dateadded/"
	) />
 
<!--- Dump out the resultant nodes. --->
<cfdump
	var="#arrNodes#"
	label="XPath: movies/movie/@dateadded/"
	/>

For Cut-and-Paste