Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function 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.

Example

xmlchildpos(xml node,string childName,number index):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
node xml  Yes XML element within which to search.  
childName string  Yes XML child element for which to search  
index number  Yes