I'm using SAX to parse some XML. In my handler's startElement() method I'm trying to read the value of an attribute named xsi:type
with something like:
String type = attributes.getValue("xsi:type");
However, it always returns null
. This works fine for everything else so I'm assuming that it's due to the namespace prefix. How can I get this value?