> 
> I have a Java object I am using to generate links.  It would make my 
> life easier if I could use it directly in my XSLT--even though it is 
> created outside of the XSLT system.  Is it as easy as passing 
> it in as a 
> parameter?  Or is there some extra leg work necessary?


Add the namespace xmlns:java="http://xml.apache.org/xalan/java"; in your xsl, 
and use something like

<xsl:variable name="generatedLink"  select="java:foo.bar.YourClass.yourMethod"/>

This is probably what you want. Furthermore, the right place for your question 
would be the cocoon user group rather then that of the cocoon developers : 
users@cocoon.apache.org


AS

-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
-------------------------------------------------------------- 

> 

> 
> 

Reply via email to