TXmlDocument() > Methods for searching and navigating |
Locates the first XML node containing particular data.
:findFirst( [<cTagName>] , ; [<cAttributeName>] , ; [<cAttributeValue>] , ; [<cData>] ) --> oTXmlNode | NIL
Method :findFirst() locates the first XML node in the XML tree that matches the search criteria. If no parameter is passed, the first XML node in the tree is returned. Search criteria can be any combination of name, attribute and textual content. If no matching node is found, the return value is NIL.
If a matching node is found, the next node matching the same search criteria is returned from method :findNext().
http://www.xHarbour.com