Package org.idpf.epubcheck.util.saxon

Examples of org.idpf.epubcheck.util.saxon.LineNumberFunction


      {
        Configuration configuration = ((TransformerFactoryImpl) factory).getConfiguration();
        XPathStaticContext xpathContext = new IndependentContext(configuration);
        if (!xpathContext.getFunctionLibrary().isAvailable(LineNumberFunction.QNAME, -1))
        {
          configuration.registerExtensionFunction(new LineNumberFunction());
        }
        if (!xpathContext.getFunctionLibrary().isAvailable(ColumnNumberFunction.QNAME, -1))
        {
          configuration.registerExtensionFunction(new ColumnNumberFunction());
        }
View Full Code Here

TOP

Related Classes of org.idpf.epubcheck.util.saxon.LineNumberFunction

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.