public XPath createXPath ( String str , ElemTemplateElement owningTemplate ) throws javax . xml . transform . TransformerException { ErrorListener handler = m_stylesheetProcessor . getErrorListener ( ) ; XPath xpath = new XPath ( str , owningTemplate , this , XPath . SELECT , handler , m_funcTable ) ; // Visit the expression, registering namespaces for any extension functions it includes. xpath . callVisitors ( xpath , new ExpressionVisitor ( getStylesheetRoot ( ) ) ) ; return xpath ; }
Process an expression string into an XPath . Must be public for access by the AVT class .