cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Tiny little problem in the xsp.xsl
Date Fri, 10 Nov 2000 19:01:40 GMT
Alex,

Is this with C2? Shall i check it in (for C2)?

Thanks,
dims

--- Alexander Weinmann <aweinmann@bct-technology.com> wrote:
> 
> Hello,
> I am currently testing C2/XSP and had a problem with <xsp:attribute /> not
> working as expected. The generated code showed, that the attribute was
> set AFTER the call to startElement(), and so did not appear in the output.
> I fixed that with the following patch: (Maybe it is usefull for you)
> 
> 
> 
> RCS file:
>
/home/cvspublic/xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/java/Attic/xsp.xsl,v
> retrieving revision 1.1.2.8
> diff -r1.1.2.8 xsp.xsl
> 327c327
> <     <xsl:apply-templates select="@*"/>
> ---
> >     <xsl:apply-templates select="@*|xsp:attribute"/>
> 338c338
> <     <xsl:apply-templates/>
> ---
> >     <xsl:apply-templates select="node()[not(name(.)='xsp:attribute')]"/>


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

Mime
View raw message