Wiki source code of Engine_tDOM

Version 6.1 by Nicolas Gregoire on 2012/01/10 11:55

Show last authors
1 [[tDOM>>http://tdom.github.com/||rel="__blank" title="tDOM Home Page"]] is a XSLT engine used in TCL scripts.
2
3
4 == Supported version ==
5
6 1.0
7
8 == Command line ==
9
10
11 Start 'tclsh' and paste the following script :
12
13 package require tdom
14 \\set xml [dom parse {<recon/>}]
15 set xsl [dom parse {<xsl:stylesheet
16 version="1.0"
17 xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform">
18 <xsl:output method="text"/>
19 <xsl:template match="/">
20 Version : <xsl:value-of select="system-property('xsl:version')" />
21 Vendor : <xsl:value-of select="system-property('xsl:vendor')" />
22 Vendor URL : <xsl:value-of select="system-property('xsl:vendor-url')" />
23 </xsl:template>
24 </xsl:stylesheet>}]
25 $xml xslt $xsl result
26 $result asText
27
28 == Identification strings ==
29
30 | xsl:vendor-url|http:~/~/www.tdom.org
31 | xsl:vendor|Jochen Loewer (loewerj@hotmail.com), Rolf Ade (rolf@pointsman.de) et. al.
32 | xsl:version|1
33
34 == Special features ==
35
36 * None ?