Ask Ben: Selecting XML Nodes That Have A Given Parent Node Using XPath

<!---
	Query for all name nodes that are children of
	the parent node: book.
--->
<cfset arrNameNodes = XmlSearch(
	xmlData,
	"//name[ parent::book ]"
	) />

For Cut-and-Paste