cocoon-dev mailing list archives

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

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
diff -r1.1.2.8 xsp.xsl
<     <xsl:apply-templates select="@*"/>
>     <xsl:apply-templates select="@*|xsp:attribute"/>
<     <xsl:apply-templates/>
>     <xsl:apply-templates select="node()[not(name(.)='xsp:attribute')]"/>

View raw message