XPath Methods

wrapper for a XPath implementation

  • Sets the namespace-uri prefix mappings.

    setNamespaceContext( NamespaceContext nsContext)
  • Evaluate an expression based on the context item and wrap the result in either a String or the specified return type.

    String evaluate( String expression, InputSource source)
    Object evaluate( String expression, InputSource source, QName returnType)
    String evaluate(String expression, Object item)
    Object evaluate(String expression, Object item, QName returnType)