I want to parse the following XML text and save the values in the MySQL db. What is the best way to do this?
<urn:outgoing soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<pob xsi:type="out:OutgoingTransactionRqstInfo"
xmlns:out="http://www.shantanuoak.com/OutgoingService">
<messageID xsi:type="xsd:int">9999</messageID>
<instCode xsi:type="soapenc:string"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">?</instCode>
</pob>
</urn:outgoing>
Ignoring all the namespaces in your xml file, you can do something like