<?xml version="1.0" encoding="utf-8"?>
<double xmlns="http://www.somewebsite.com/">2.0</double>
I'm having a bit of trouble parsing this using XPath 1.0.
this is what i do:
XPath xpath = XPath.newInstance("/double");
Element returnElement = (Element) xpath.selectSingleNode(doc);
the return element is null but it should be 2.0.
NOTE: It should be using XPath 1.0