Java examples for XML:XPath
get XPath Factory
// This program is free software; you can redistribute it and/or modify it //package com.java2s; import javax.xml.xpath.*; public class Main { public static void main(String[] argv) throws Exception { System.out.println(getXPathFactory()); }//from www .j a va 2 s . c o m public static XPathFactory getXPathFactory() { return XPathFactory.newInstance(); } }