Paul Tomsic <[EMAIL PROTECTED]> wrote on 08/18/2006 03:10:19 PM:
> Is there some way to map classes to the XPathConstants
> to inform javax.xml.xpath.XPath.evaluate() what type
> of QName to accept?
You could write a method which does the conversion. There's nothing in the
JAXP API which does that if that's what you're asking.
> 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]
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]