|
Whitebeam Template Reference Documentation
|
XmlTag Template
whichIndex()
Return index of child XML element.
Syntax
number = rb.XmlTag.whichIndex(tagName)
Parameters
The 'whichIndex' method takes 1 parameter:
Results
The 'whichIndex' method returns number:
Type/Value | Range/Length | Description |
number |
  |
The index in the selected node of the XML element identified by the single parameter.
|
Remarks Take a single parameter - an XML element. This can be either a tag XmlTag, text XmlText
or one of the other XML elements classes. Look within the array of children of the current
element looking for the element referenced in the paremeter. If the element is located
then return the zero (0) based index of that element. If the element is not found
this method returns a negative number. |
|
(loadtime : 14ms) |