all groups > dotnet xml > march 2006 >
You're in the

dotnet xml

group:

how to find nodes at xml file without complete load the xml file


how to find nodes at xml file without complete load the xml file joe
3/30/2006 5:29:01 PM
dotnet xml:
how to find nodes at xml file without complete load the xml file
Re: how to find nodes at xml file without complete load the xml file Martin Honnen
3/31/2006 12:00:00 AM


[quoted text, click to view]

You can read through the XML document with an Xml(Text)Reader, that is
forward only pull parsing where your code only pulls in the current node.
The documentation is here
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXmlTextReaderClassTopic.asp>
for .NET 1.x and here
<http://msdn2.microsoft.com/en-us/library/system.xml.xmlreader(VS.80).aspx>
for .NET 2.0.
--

Martin Honnen --- MVP XML
AddThis Social Bookmark Button