Below is my XML structure
<values>
<inputs>
<input>one</input>
<input>two</input>
</inputs>
<inputs>
<input>one</input>
<input>three</input>
</inputs>
</values>
GOAL : Want to put all input node values into a collection
I can write SAX/DOM parser, read based on the node name and put each value into the collection.
Is that the most efficient way?
Could something similar to XmlDocument in c# be used?
Thank you 🙂
Yes.
are the classes you need.
Here is a quick tutorial.
But let’s get it straight. SAX based parser is more
efficient🙂XmlDocumenttype based parsing is more ….convinient. 🙂