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

<!--- Select all the genre tags. --->
<cfset arrNodes = XmlSearch(
	xmlData,
	"movies/movie/genres/genre/"
	) />
 
<!--- Dump out resultant nodes. --->
<cfdump
	var="#arrNodes#"
	label="XPath: movies/movie/genres/genre/"
	/>

For Cut-and-Paste