Arje Cahn wrote:
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?


Arje,


At first I thought there was an InputModule to do this, but apparently there isn't. If there were, it would be pretty easy to do, it would look something like this:

<map:match pattern="">
  <map:generate src="foo"/>
  <map:transform src="xsl/bar.xslt">
   <map:parameter name="version" value="{cocoon-constant:VERSION}"/>
  </map:transform>
  <map:serialize/>
</map:match>

Perhaps it's time for a new inputmodule?


Regards,


Tony


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



Reply via email to