468,256 Members | 1,447 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,256 developers. It's quick & easy.

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

joe
how to find nodes at xml file without complete load the xml file
since the file is very big!!
Mar 31 '06 #1
1 1535


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/
Mar 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Brent Jenny | last post: by
4 posts views Thread by Mark | last post: by
27 posts views Thread by one man army | last post: by
16 posts views Thread by TT (Tom Tempelaere) | last post: by
2 posts views Thread by Marco Trapanese | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.