I'm parsing xml that starts like this:
<?xml version="1.0" encoding="UTF-8"?>
<dataset
xmlns:perinote="urn:perinote.com/perinote-1.2" >
...
And I'm wondering how I read the value for the "xmlns:perinote" tag. From there I want to be able to handle multiple versions.
I tried
String nameSpace = parser.getAttributeValue (null, "xmlns:perinote");
but it returns null.