Simple Xml list parsing problem
- by Hubidubi
I have this xml:
<root>
<fruitlist>
<apple>4</apple>
<apple>5</apple>
<orange>2</orange>
<orange>6</orange>
</fruitlist>
</root>
I'm writing a parser class, although I can't figure out how to deal with multiple node types. I can easily parse a list that…