title: How to use Saxon XPath 2.0 with Java?
body: <p>I like to use regular expressions in xPath, so I installed Saxon9.6</p>
  
  <ol>
  <li>My ${java.home} is C:\Program Files\Java\jdk1.7.0_51.</li>
  <li>I extracted saxonHE9-6-0-6J.zip in C:\Program
  Files\Java\jdk1.7.0_51\jre\lib\ext</li>
  <li>and add saxonhe9.jar to my classpath variable.</li>
  <li><p>Then I created a jaxp.properties file under C:\Program
  Files\Java\jdk1.7.0_51\jre\lib and add the following lines:</p>
  
  <p>javax.xml.transform.TransformerFactory = net.sf.saxon.TransformerFactoryImpl
  javax.xml.xpath.XPathFactory","net.sf.saxon.xpath.XPathFactoryImpl</p></li>
  </ol>
  
  <p>But now I cant find the examples like it is described on <a href="http://saxon.sourceforge.net/saxon7.7/samples.html#xpath-example" rel="nofollow">this</a> page.</p>