Wiki source code of Engine_libxslt

Version 31.1 by Nicolas Gregoire on 2012/01/11 22:12

Show last authors
1 [[libxslt>>http://xmlsoft.org/XSLT/||rel="__blank" title="libxslt Home Page"]] is a C based XSLT engine developed for the GNOME project.
2
3
4 == Supported version ==
5
6 1.0
7
8 == Command line ==
9
10 $> xsltproc foo.xsl foo.xml
11
12
13 == Identification strings ==
14
15 |=xsl:vendor-url|http:~/~/xmlsoft.org/XSLT/
16 |=xsl:vendor|libxslt
17 |=xsl:version|1.0
18
19 == Special features ==
20
21 * File creation
22
23 == File creation ==
24
25 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.
26
27 |=Namespace|=Extension element|=Parameter|=PoC
28 |http:~/~/www.w3.org/1999/XSL/Transform|document|href|[[libxslt-xsl-document.xsl>>attach:libxslt-xsl-document.xsl]]\\
29 |http:~/~/www.jclark.com/xt|document|href|[[libxslt-xt-document.xsl>>attach:libxslt-xt-document.xsl]]\\
30 |http:~/~/exslt.org/common|document|href|[[libxslt-exslt-document.xsl>>attach:libxslt-exslt-document.xsl]]\\
31 |org.apache.xalan.xslt.extensions.Redirect|write|href|[[libxslt-xalan-write.xsl>>attach:libxslt-xalan-write.xsl]]\\
32 |http:~/~/icl.com/saxon|output|href|[[libxslt-saxon-output.xsl>>attach:libxslt-saxon-output.xsl]]\\
33
34 Note : The first line uses the standard XSLT namespace, which is always available.