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 10.1 Icon
edited by Nicolas Gregoire
on 2012/01/05 01:09
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -18,6 +18,27 @@
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 +<?xml version="1.0"?>
30 +<xsl:stylesheet xmlns:xsl="http:~/~/www.w3.org/1999/XSL/Transform"
31 + xmlns:xalan="http:~/~/xml.apache.org/xalan"
32 + exclude-result-prefixes="xalan"
33 + version="1.0">
34 +
35 +
36 + <xsl:output indent="yes"/>
37 + <xsl:template match="/">
38 + <xsl:copy-of select="xalan:checkEnvironment()"/>
39 + </xsl:template>
40 +\\</xsl:stylesheet>
41 +
21 21  == Java code execution ==
22 22  
23 23  The following code will display the current date :
Icon checkenv.xsl
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.NicolasGregoire
Size
... ... @@ -1,0 +1,1 @@
1 +324 bytes
Content
... ... @@ -1,0 +1,14 @@
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 +