Changes for page Engine_tDOM

Last modified by Nicolas Gregoire on 2012/01/14 17:00

From version Icon 4.2 Icon
edited by Nicolas Gregoire
on 2012/01/04 22:40
Change comment: Added tag [xslt, engine, TCL, safe]
To version Icon 5.1 Icon
edited by Nicolas Gregoire
on 2012/01/10 11:53
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -1,9 +1,30 @@
1 1  [[tDOM>>http://tdom.github.com/||rel="__blank" title="tDOM Home Page"]] is a XSLT engine used in TCL scripts.
2 2  
3 3  
4 -Supported XSLT version : 1.0
4 +== Supported version ==
5 5  
6 +1.0
6 6  
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 +
7 7  == Identification strings ==
8 8  
9 9  | xsl:vendor-url|http:~/~/www.tdom.org