Wiki source code of Engine_libxslt

Version 30.1 by Nicolas Gregoire on 2012/01/11 21:48

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