cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <>
Subject Java function in a xsl
Date Fri, 15 Dec 2000 17:38:07 GMT
Hi Cocoonians

We obtain from the data base an xml file like:
	<id> ... </id>
	<definition> ... </definition>

And the definition field is very long so we want to apply a function to make
it shorter. We tried in the xsl something like: 

<xsl:template match="definition">
<h6> <xsp:expr> myfunction(???)</xsp:expr> </h6>
What should it be in the args of the function?
Is a good idea to trim the result in the xsl?

Thanks folks!

View raw message