posted 14 years ago
I'm making a web service that will be accepting XML documents/messages as it's input and will return an XML document. I'm struggling with the parsing of the input XML and I'm quite sure I'm making it harder than it should be. The XML I will be getting is very very simple.
Given a method signature like this:
public Document GetData(Document data)
Can I just begin traversing through the elements or do I have to make a DocumentBuilder to parse the document? The end result is to get the Item attrubutes ( Nbr) into a list.
thanks for any input on this,