cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <dav...@nmp.es>
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:
<root>
	<id> ... </id>
	<definition> ... </definition>
</root>

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>
</xsl:template>
....
What should it be in the args of the function?
Is a good idea to trim the result in the xsl?


Thanks folks!

Mime
View raw message