Hello,
I want to read tag values of an xml using xpath in firefox extension (basically javascript). The example from
w3schools works perfectly fine as long as the XML does not have XMLNS attribute to the root element. The same example code does not work with xmlns attribute specified.
Similarly, the xml I receive from my SOAP service has xmlns as below:
<DescribeInstancesResponse
xmlns="http://ec2.amazonaws.com/doc/2009-07-15/">
However, I am unable to read values from my xml, inspite of specifying a 'name space resolver'. I have tried with simple namespace resolver which just returns the above URI as a string and also tried creating NSResolver following the instructions given
here.
Could anyone help me how to solve this?
Regards,
vcage