| TXmlIteratorScan() > Search methods |
![]() |
![]() |
Searches the first XML node matching the search criteria.
:find( [<cTagName>] , ;
[<cAttribute>], ;
[<cValue>] , ;
[<cData>] ) --> oTXmlNode | NIL
Method :find() defines the search criteria for a TXmlIteratorScan object and performs the initial search. The search criteria can be defined as any combination of 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 search criteria with method :next().
http://www.xHarbour.com