Engine_libxslt
libxslt is a C based XSLT engine developed for the GNOME project.
Supported version
1.0
Command line
$> xsltproc foo.xsl foo.xml
Identification strings
xsl:vendor-url | http://xmlsoft.org/XSLT/ |
---|---|
xsl:vendor | libxslt |
xsl:version | 1.0 |
Special features
- File creation
- Debug
File creation
Several functions, associated at different namespaces, allow to create files on the engine side. They're all aliases to the xsltDocumentElem() function defined in libxslt/transform.c. The content written to the file must be valid UTF-8 (so plain ASCII works too). Existing files can be overwritten.
Namespace | Extension element | Parameter | PoC |
---|---|---|---|
http://www.w3.org/1999/XSL/Transform | document | href | |
http://www.jclark.com/xt | document | href | |
http://exslt.org/common | document | href | |
org.apache.xalan.xslt.extensions.Redirect | write | href | |
http://icl.com/saxon | output | href |
Note : The first line uses the standard XSLT namespace, which is always available.