M
Mag Gam
I have a file similar to this:
<Customer xmlns="http://www.localsite.com/ecommerce/2006-v01/
organization">
<ns1:Contract xmlns:ns1="http://www.localsite.com/ecommerce/2006-v01/
portfolio">
<ns1:ContractId>
<ns2:Identifier xmlns:ns2="http://www.localsite.com/ecommerce/2006-
v01/common">199</ns2:Identifier>
</ns1:ContractId>
<ns1:OrganizationId>
<ns3:Identifier xmlns:ns3="http://www.localsite.com/ecommerce/2006-
v01/common">6142</ns3:Identifier>
</ns1:OrganizationId>
</ns1:Contract>
</Customer>
How can I extract, Identifier field's data?
It seems I am not able to extract using DOM, because of Namespaces.
Any help would be appreciated.
TIA
<Customer xmlns="http://www.localsite.com/ecommerce/2006-v01/
organization">
<ns1:Contract xmlns:ns1="http://www.localsite.com/ecommerce/2006-v01/
portfolio">
<ns1:ContractId>
<ns2:Identifier xmlns:ns2="http://www.localsite.com/ecommerce/2006-
v01/common">199</ns2:Identifier>
</ns1:ContractId>
<ns1:OrganizationId>
<ns3:Identifier xmlns:ns3="http://www.localsite.com/ecommerce/2006-
v01/common">6142</ns3:Identifier>
</ns1:OrganizationId>
</ns1:Contract>
</Customer>
How can I extract, Identifier field's data?
It seems I am not able to extract using DOM, because of Namespaces.
Any help would be appreciated.
TIA