Hi all,

I'm trying to display the Cocoon versionnumber in my XSL's. I've tried the following 
method, using a Xalan extension call to the cocoon constants, but it doesn't work..
Any ideas?

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:java="http://xml.apache.org/xalan/java";>
        <xsl:template name="main" match="/">
                <cocoon-version>
                        <xsl:value-of 
select="java:org.apache.cocoon.Constants.VERSION"/>
                </cocoon-version>       
        </xsl:template>
</xsl:stylesheet>

Thanks in advance!

Arj� Cahn

Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
-------------------------------------------------------------
[EMAIL PROTECTED] / www.hippo.nl
--------------------------------------------------------------





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

Reply via email to