HI,
The source structure coming from a webservice contains xml namespace in all elements. I need to remove it from all elements except the top element. I can't use XML anonymizer bean for some reason. The structure is like:
<RecordNode xmlns="urn:xxyy:xyz">
<Field1 xmlns="urn:xxyy:xyz"> 12000</Field1>
<Field2 xmlns="urn:xxyy:xyz"> 900</Field2>
</RecordNode>
Thus I need to remove this section (xmlns="urn:xxyy:xyz">) from all fields i.e field1,field2,.....last field Except the top element i.e RecordNode. I could get XSLT mapping for removing all namespaces but how do I do it for the above case. Please note that after XSLT mapping, the field say field1 should look like:
<Field1>12000</Field1>
Regards,
Singh