TXmlIteratorRegEx() > Search methods |
Searches the first XML node matching the regular expressions.
:find( [<cRegExTagName>] , ; [<cRegExAttribute>], ; [<cRegExValue>] , ; [<cRegExData>] ) --> oTXmlNode | NIL
Method :find() defines the regular expressions for a TXmlIteratorRegEx object and performs the initial search. Four different regular expressions can be defined to match tag name, attribute name, attribute value or textual data. If a matching XML node exists, the corresponding TXmlNode() object is returned, otherwise the return value is NIL. The search can be continued using the same regular expressions with method :next().
http://www.xHarbour.com