Java XPath Create getXPath()

Here you can find the source of getXPath()

Description

get X Path

License

Apache License

Declaration

static public XPath getXPath() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import javax.xml.xpath.*;

public class Main {
    static public XPath getXPath() {
        XPathFactory xPathfactory = XPathFactory.newInstance();
        XPath xpath = xPathfactory.newXPath();

        return xpath;
    }//  w w w  .j a va 2s .  c o  m
}

Related

  1. getXmlString(Node inXml, String xpath)
  2. getXpath()
  3. getXPath()
  4. getXPath()
  5. getxPath()
  6. getXPath()
  7. getXPath(Element elt)
  8. getXPath(Element rootElement, Element targetElement, boolean includeElementIndex, Map namespacesMap)
  9. getXPath(NamespaceContext nsContext)