[Home] [By Thread] [By Date] [Recent Entries]
Martin Honnen wrote:
I don't know about ant but you can run a sample stylesheet that outputs the properties listed at http://www.w3.org/TR/xslt20/#system-property to find out things like vendor and product name of the XSLT processor. Very useful! Hmmm, that generates warnings for XSLT 1.0 processors, though. And xsl:message also seems to be regarded as a warning by the Apache XSLT processor: This: <xsl:message name="System info:">
<xsl:text>XSLT Processor: </xsl:text>
<xsl:value-of select="system-property('xsl:vendor')" />
<xsl:value-of select="system-property('xsl:product-name')" />
<xsl:value-of select="system-property('xsl:product-version')" />
</xsl:message>Generates messages like these: [xslt] /home/jrobie/project/WWW/XML/Group/qtspecs/style/strip.xsl:41:70: Warning! XSL Property not supported: xsl:product-name [xslt] /home/jrobie/project/WWW/XML/Group/qtspecs/style/strip.xsl:42:73: Warning! XSL Property not supported: xsl:product-version [xslt] /home/jrobie/project/WWW/XML/Group/qtspecs/style/strip.xsl:38:18: Warning! XSLT Processor: Apache Software Foundation Any way to get rid of the Warning!s? Jonathan
|

Cart



