cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Weinmann <aweinm...@bct-technology.com>
Subject Tiny little problem in the xsp.xsl
Date Fri, 10 Nov 2000 15:32:38 GMT

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')]"/>

Mime
View raw message