Wiki source code of Engine_4Suite

Last modified by Nicolas Gregoire on 2012/01/23 12:24

Show last authors
1 {{toc/}}
2
3 = Introduction =
4
5 [[4Suite>>http://foursuite.sourceforge.net/||rel="__blank" title="4Suite Home Page"]] is a Python based XSLT engine by Fourthought Inc.
6
7 = Supported version =
8
9 1.0
10
11 = Command line =
12
13 $> 4xslt foo.xml foo.xsl
14
15 = Identification strings =
16
17 |=xsl:vendor-url|http:~/~/4Suite.org
18 |=xsl:vendor|Fourthought Inc.
19 |=xsl:version|1
20
21 = Special features =
22
23 * File access (read and write)
24 * Leak $CWD and paths to binaries
25
26 = Reading files =
27
28 |=Namespace|=Extension function|=Parameters|=PoC
29 |http:~/~/xmlns.4suite.org/ext|doc-as-string()|file, encoding|[[4suite-doc-as-string.xsl>>attach:4suite-doc-as-string.xsl]]\\
30
31 This is documented [[here>>http://infinitesque.net/projects/4Suite/docs/extensions/XsltBuiltins.html#id1084806788||rel="_blank"]].
32
33 = Writing files =
34
35 |=Namespace|=Extension element|=Parameters|=PoC
36 |http:~/~/exslt.org/common|document|href|[[4suite-exsl-document.xsl>>attach:4suite-exsl-document.xsl]]\\
37
38 This is documented [[here>>http://infinitesque.net/projects/4Suite/docs/modules/Ft.Xml.Xslt.Exslt.Common.html#DocumentElement||rel="_blank"]].
39
40 = Information leak =
41
42 |=Namespace|=Extension function|=PoC
43 |http:~/~/xmlns.4suite.org/ext|bin-path()|[[4suite-bin-path.xsl>>attach:4suite-bin-path.xsl]]\\
44 |http:~/~/xmlns.4suite.org/ext|ospath2uri()|[[4suite-ospath2uri.xsl>>attach:4suite-ospath2uri.xsl]]\\
45 |http:~/~/xmlns.4suite.org/ext|uri2ospath()|[[4suite-uri2ospath.xsl>>attach:4suite-uri2ospath.xsl]]\\