cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <gian...@apache.org>
Subject Re: Fw: XSLTC and Cocoon
Date Thu, 06 Jun 2002 20:04:44 GMT
Tom Amiro wrote:

> I got the war you gave me to run and hit the same old error on book2menu.xsl 
> that I found before which was due to the stylesheet not using the correct 
> syntax to call external java funtions. Here is a copy of the stylesheet 
> with the required changes, i.e.
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                 xmlns:NetUtils="http://xml.apache.org/xslt/java/org.apache.cocoon.util.NetUtils"
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
>      <xsl:variable name="encLabel" select="NetUtils:encodePath(string(@label))"/>
>                                                                ^^^^^^^
> 
> These changes should also work with Xalan.
> 
> I hope you can submit this fix for the stylesheet, so the version in the wars 
> you generate won't have the problem.
> 
> After substituting the corrected stylesheet and rebuilding the war, I was able to 
> get further and hit a null prt error in XSLTC. We'll investigate that further.

Thanks Tom. I fixed it in CVS. Let me know if I can be of any further help.

Ciao,

-- 
Gianugo Rabellino


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message