The XsltFilter
applies a XSL template to the stream. Though you can
use this filter directly, you should use XslTask Core tasks
which is shortcut to the following lines:
<filterchain> <xsltfilter style="somexslt.xsl" /> </filterchain>
This filter relies on PHP5 XSL support via libxslt
which must be
available for php5. Usually this means including the php5_xsl
module
when configuring PHP5. In essence this uses the same core libraries as "xsltproc"
processor.
Table 196. Attributes for the <xsltfilter>
tag
Name | Type | Description | Default | Required |
---|---|---|---|---|
style |
String |
The XSLT stylesheet to use for transformation. | n/a | Yes |
html |
Boolean |
Whether to parse the input as HTML (using libxml2 DOMDocument::loadHTML()). | false |
No |
resolvedocumentexternals |
Boolean |
Whether to resolve entities in the XML document. (see this link for details) | false |
No |
resolvestylesheetexternals |
Boolean |
Whether to resolve entities in the stylesheet. | false |
No |