Method Parser.XML.Tree.RootNode()->get_element_by_id()
- Method get_element_by_id
ElementNodeget_element_by_id(stringid,int|voidforce)- Description
Find the element with the specified id.
- Parameter
id The XML id of the node to search for.
- Parameter
force Force a regeneration of the id lookup cache. Needed the first time after the node tree has been modified by adding or removing element nodes, or by changing the id attribute of an element node.
- Returns
Returns the element node with the specified id if any. Returns UNDEFINED otherwise.
- See also