Is there some way to map classes to the XPathConstants
to inform javax.xml.xpath.XPath.evaluate() what type
of QName to accept?

for instance:


getFromXPath(String xpath, Node node, Boolean.class) {
    XPath.evaluate(xpath, node,
XPathConstants.BOOLEAN)

}

?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to