Re: how to find nodes at xml file without complete load the xml file
- From: Martin Honnen <mahotrash@xxxxxxxx>
- Date: Fri, 31 Mar 2006 13:03:40 +0200
joe wrote:
how to find nodes at xml file without complete load the xml file
since the file is very big!!
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
http://JavaScript.FAQTs.com/
.
- Prev by Date: Re: MemoryStream, Backslash-Zero Problem
- Next by Date: XML validate by XSD schema with C#
- Previous by thread: RE: persisent timeout problem consuming webservice
- Next by thread: XML validate by XSD schema with C#
- Index(es):