Loading a XML, but for asp.net 2.0
Posted
by Blankman
on Stack Overflow
See other posts from Stack Overflow
or by Blankman
Published on 2010-04-29T21:06:12Z
Indexed on
2010/04/29
22:17 UTC
Read the original article
Hit count: 302
I need to load an XML document into my Dictionary<string,string> object
.
XML looks like:
<nodes>
<node id="123">
<text>text goes here</text>
</node>
</nodes>
How can I do this using XmlDocument?
I want readability over performance, and I find XmlReader to be hard to read b/c you have to keep checking the node type.
© Stack Overflow or respective owner