Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Forward-only Xml Parser

xml parser

  • Please log in to reply
1 reply to this topic

#1 jamesf

jamesf

    New Member

  • Members
  • Pip
  • 1 posts

Posted 07 May 2013 - 01:18 PM

Hi all,

 

Thought it might be helpful to share this code for a simple forward-only Xml parser since it seems to come up a lot. It has a number of restrictions but the basic principle is that you register up-front the elements your application is interested in, and the parser discards everything else. Tested with quite large Xml files without running out of memory.

 

-James

 

Attached Files

  • Attached File  Xml.cs   3.31KB   51 downloads


#2 xelatan

xelatan

    New Member

  • Members
  • Pip
  • 3 posts

Posted 29 August 2013 - 09:04 PM

Do you have and example on how to use it?

 

And can it handle attributes?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.