Package org.exist.xslt.compiler

Examples of org.exist.xslt.compiler.XSLElement


    }

    protected static XSLStylesheet compile(ElementAtExist source, DBBroker broker) throws XPathException {
      long start = System.currentTimeMillis();
     
      XSLElement stylesheet = new XSLElement(source);
     
      XSLContext context = new XSLContext(broker.getBrokerPool());
     
      context.setDefaultFunctionNamespace(Factory.namespaceURI);
     
      XSLStylesheet expr = (XSLStylesheet) stylesheet.compile(context);
      AnalyzeContextInfo info = new AnalyzeContextInfo((XQueryContext)context);
      info.setFlags(Expression.IN_NODE_CONSTRUCTOR);
        expr.analyze(info);

        if (context.optimizationsEnabled()) {
View Full Code Here

TOP

Related Classes of org.exist.xslt.compiler.XSLElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.