/** * Load the stylesheet to prepare it for execution. This version of the load() method * creates an <code>Xslt30Transformer</code> which offers interfaces for stylesheet * invocation corresponding to those described in the XSLT 3.0 specification. It can be used * with XSLT 2.0 or XSLT 3.0 stylesheets, and in both cases it offers new XSLT 3.0 functionality such * as the ability to supply parameters to the initial template, or the ability to invoke * stylesheet-defined functions, or the ability to return an arbitrary sequence as a result * without wrapping it in a document node. * * @return An Xslt30Transformer. The returned Xslt30Transformer can be used to set up the * dynamic context for stylesheet evaluation, and to run the stylesheet. */ public Xslt30Transformer load30() { return new Xslt30Transformer(processor, preparedStylesheet.newController(), preparedStylesheet.getCompileTimeParams()); }
/** * Load the stylesheet to prepare it for execution. This version of the load() method * creates an <code>Xslt30Transformer</code> which offers interfaces for stylesheet * invocation corresponding to those described in the XSLT 3.0 specification. It can be used * with XSLT 2.0 or XSLT 3.0 stylesheets, and in both cases it offers new XSLT 3.0 functionality such * as the ability to supply parameters to the initial template, or the ability to invoke * stylesheet-defined functions, or the ability to return an arbitrary sequence as a result * without wrapping it in a document node. * * @return An Xslt30Transformer. The returned Xslt30Transformer can be used to set up the * dynamic context for stylesheet evaluation, and to run the stylesheet. */ public Xslt30Transformer load30() { return new Xslt30Transformer(processor, preparedStylesheet.newController(), preparedStylesheet.getCompileTimeParams()); }