ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ant Wiki] Update of "UsingAntWithXSLT2.0AndSaxon" by DanMcCreary
Date Tue, 02 Aug 2005 13:46:27 GMT
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message