static public void useXalanXPathSupport() throws Exception {
  Class.forName("org.apache.xpath.XPath");
  Class c=Class.forName("freemarker.ext.dom.XalanXPathSupport");
synchronized (STATIC_LOCK) {
    xpathSupportClass=c;
  }
  if (LOG.isDebugEnabled()) {
    LOG.debug("Using Xalan classes for XPath support");
  }
}

static public void useXalanXPathSupport ( ) throws Exception { Class . forName ( "org.apache.xpath.XPath" ) ; Class c = Class . forName ( "freemarker.ext.dom.XalanXPathSupport" ) ; synchronized ( STATIC_LOCK ) { xpathSupportClass = c ; } if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Using Xalan classes for XPath support" ) ; } }
convenience method . tells the system to use xalan for xpath queries .
