[4suite] 0.10.2 - system-property()

Juergen Hermann jh at web.de
Tue Feb 20 16:38:21 MST 2001


Hi!

http://www.encrypted.net/~jh/moinmoin/moin.cgi/XsltVersion

gives 

This Wiki is running an XSLT engine by Fourthought Inc. 
(http://4Suite.org) implementing XSLT v1 

using this stylesheet

<?xml version="1.0" encoding="ISO-8859-1"?>

<?xml-stylesheet href="XsltVersion" type="text/xml"?>

<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

   <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>

   <xsl:template match="/">
     This Wiki is running an XSLT engine by
     <xsl:value-of select="system-property('xsl:vendor')"/>
     (<a href="{system-property('xsl:vendor-url')}"><xsl:value-of 
select="system-property('xsl:vendor-url')"/></a>)
     implementing XSLT v<xsl:value-of select="system-property
('xsl:version')"/>
   </xsl:template>

</xsl:stylesheet>


Question 1: Shouldn't this be "v1.0" instead of "v1"? A consequence 
of xsl:version returning a number object, so it's just formatted as 
simply "1"?

Question 2: Is there a way to get 4XSLT's version (i.e. the 
"0.10.2")? If not, could you add a ft:version system-property?

Question 3: Related to 2, is there an official way to get 4XSLT's 
version on the Python level?


Ciao, Jrgen





More information about the 4suite mailing list