Download the PHP package quioteframework/xslt without Composer
On this page you can find all versions of the php package quioteframework/xslt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quioteframework/xslt
More information about quioteframework/xslt
Files in quioteframework/xslt
Package xslt
Short Description XSLT (.xsl) template renderer for Quiote, built on ext-xsl/ext-dom.
License MIT
Homepage https://github.com/quioteframework/xslt
Informations about the package xslt
quioteframework/xslt
XSLT (.xsl) template renderer for Quiote, built on ext-xsl/ext-dom (no external library dependency).
Install
Enable
Add a renderer entry to the output type(s) that should use XSLT in your app's output_types.xml:
How it renders
The stylesheet (the .xsl file resolved via the layer) transforms an XML document built from $moreAssigns['inner'] (either a DOMDocument or an XML string). Each scalar/Stringable template attribute is passed through as a top-level XSLT parameter.
By default (envelope parameter, on by default) the inner document and every rendered slot are wrapped into one synthetic document under the http://quiote.org/quiote/renderer/xslt/envelope/1.0 namespace:
This lets a stylesheet pull slot markup via XPath, which a plain XSLT string parameter can't carry. Set envelope to false to skip the wrapper and transform inner directly — slots aren't available in that mode (XSLT string parameters can't safely carry arbitrary markup).
License
MIT. See LICENSE.
All versions of xslt with dependencies
ext-dom Version *
ext-xsl Version *
lib-libxml Version *
quioteframework/quiote Version ^4.0