cfdocs

xmlChildPos

Gets the position of a child element within an XML document object. The position, in an XmlChildren array, of the Nth child that has the specified name.

xmlChildPos(elem, childname, n)
returns numeric

Argument Reference

Name Type Required Default Description
elem xml Yes   XML element within which to search
childname string Yes   XML child element for which to search
n numeric Yes   Index of XML child element for which to search