TXmlDocument() > Methods for searching and navigating |
Locates the first XML node containing particular data using regular expressions.
:findFirstRegEx( [<cTagNameRegEx>] , ; [<cAttributeNameRegEx>] , ; [<cAttributeValueRegEx>] , ; [<cDataRegEx>] ) --> oTXmlNode | NIL
Method :findFirstRegEx() locates the first XML node in the XML tree that matches the regular expressions passed. 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