Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change 
notification.

The following page has been changed by DanMcCreary:
http://wiki.apache.org/ant/UsingAntWithXSLT2%2e0AndSaxon

------------------------------------------------------------------------------
  </target>
  }}}
  
+ The following is an excellent tool for checking that XSLT 2.0 is running
+ -- MyTransform.xsl --
+ {{{
+ <?xml version="1.0" encoding="UTF-8"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
+       <xsl:output method="html"/>
+       <xsl:template match="/">
+               <html>
+                       <head>
+                               <title>Print XSLT Related Environment 
Variables</title>
+                       </head>
+                       <body>
+                               <ul>
+                                       <li><b>Version: </b><xsl:value-of 
select="system-property('xsl:version')"/>
+                                       </li>
+                                       <li><b>Vendor: </b><xsl:value-of 
select="system-property('xsl:vendor')"/>
+                                       </li>
+                                       <li><b>Vendor URL: </b><xsl:value-of 
select="system-property('xsl:vendor-url')"/>
+                                       </li>
+                                       <li><b>Java Version: </b><xsl:value-of 
select="system-property('java.version')"/>
+                                       </li>
+                                       <li><b>OS Name: </b><xsl:value-of 
select="system-property('os.name')"/>
+                                       </li>
+                                       <li><b>File Seperator: 
</b><xsl:value-of select="system-property('file.separator')"/>
+                                       </li>
+                               </ul>
+                       </body>
+               </html>
+       </xsl:template>
+ </xsl:stylesheet>
+ }}}
+ 
+ This should display something like the following:
+ 
+  * Version: 2.0 
+  * Vendor: SAXON 8.4 from Saxonica 
+  * Vendor URL: http://www.saxonica.com/ 
+  * Java Version: 1.5.0_02 
+  * OS Name: Windows XP 
+  * File Seperator: \ 
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to