.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Xml Class Summary

Xml::SearchForContent

Returns the first node having a tag equal to tagName whose content matches contentPattern, which is a case-sensitive string that can use any number of '*'s to represent 0 or more occurances of any character. The search is breadth-first over the tree, and the previous node returned can be passed to the next call as afterNode to continue the search after that node.

  Declarations  
    [Visual Basic]
Public Function SearchForContent(Xml afterNode , ByVal String tagName , ByVal String contentPattern) As Xml

[C#]
public Xml SearchForContent(Xml afterNode , string tagName , string contentPattern);

[C++]
public Xml *SearchForContent(Xml *afterNode , String *tagName , String *contentPattern);

[JScript]
public function SearchForContent(Xml afterNode , String tagName , String contentPattern) : Xml
 
  Parameters  
   
afterNode
Return the first match after this node.
tagName
The matched node must have a tag with this exact value.
contentPattern
A string for pattern matching the XML node's content where "*" and "?" are wildcard characters.
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.