Next Topic

Previous Topic

Book Contents

FindChildNode

TLuaXMLNode FindChildNode(string sElementName, int iOffset)

Return values

The function returns a valid TLuaXMLNode object if the element was found.

Parameters

  • sElementName - The name of the element that is a child of this node
  • iOffset - A zero based index to retrieve child elements with the same name in the node.

Remarks

The function can be used to iterate over a number of child elements with the same name. Increment the offset parameter to retrieve the next element.