xsl-list
[Top] [All Lists]

Re: [xsl] Getting ant to tell me which xslt processor is used

2008-09-24 12:53:39
Martin Honnen wrote:
Unfortunately XSLT 1.0 only supports the property xsl:vendor so you will need to check
       <xsl:text>XSLT Processor: </xsl:text>
       <xsl:value-of select="system-property('xsl:vendor')" />
       <xsl:if test="system-property('xsl:version') = '2.0'">
         <xsl:value-of select="system-property('xsl:product-name')"/>
         <xsl:value-of select="system-property('xsl:product-version')"/>
       </xsl:if>

Perfect - thanks!

Jonathan


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--