Question : how do I read the contents of the xml string

I am trying to read the contents of an xml string that will come into my webservice like so:

<?xml version="1.0" encoding="utf-8" ?>
<orderHeader id="12221">
  <orderline id="1212" sku="75254A" qty="4" price="230.00"></orderline>
  <orderline id="1213" sku="75254B" qty="10" price="330.00"></orderline>
  <orderline id="1214" sku="75254C" qty="12" price="130.00"></orderline>
</orderHeader>

And I want to be able to extract the id of the orderheader, and then each of the orderline records and import that into a database and so on.

I am having a wee little problem with the code, as I cant seem to read it in and was wondering if someone could help me out and point to me a simple example on how to do this.

Answer : how do I read the contents of the xml string

You're right, and they probably never will; there may have been memory leaks that they do not want anybody to know about, and fixing these could in turn, fix "stability and performance." Memory leaks could lead to just about anything going wrong with a system, and thus getting a seemingly better update and getting all customers updated to the current version is a safe way from being targeted by black-hat hackers.

I usually assume vague 'improvements' (for most any software) as more efficient code compared to whatever it replaced, and thus details will never be revealed.
Random Solutions  
 
programming4us programming4us