ComponentUtilitiesXmlStreamAxis(String, String) Method
This provides a fast and efficient way of querying large XML files for a specific element type
Namespace: Sandcastle.CoreAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static IEnumerable<XElement> XmlStreamAxis(
string xmlFile,
string elementName
)
Public Shared Function XmlStreamAxis (
xmlFile As String,
elementName As String
) As IEnumerable(Of XElement)
public:
static IEnumerable<XElement^>^ XmlStreamAxis(
String^ xmlFile,
String^ elementName
)
static member XmlStreamAxis :
xmlFile : string *
elementName : string -> IEnumerable<XElement>
- xmlFile String
- The XML file to search
- elementName String
- The element name for which to search
IEnumerableXElementAn enumerable list of
XElement instances for each of the found nodes
This version only looks for a single element type which cannot contain nested instances of
the given element.