cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Goerke" <>
Subject Cocoon-view=links, LinkSerializer, Events, problem in Cocoon 2.1
Date Fri, 22 Aug 2003 11:49:15 GMT

I use cocoon 2.1, I have upgraded from cocoon 2.0.4. I describe behaviour of Cocoon 2.1, it
differs from the behaviour of Cocoon 2.0.4.

I'm applying in the last step of my pipeline an XSL - transformation that encodes self defined
link-tags into HTML "<a href=" tags. But when I use additionally the parameter "cocoon-view=links",
not all "<a"-links in the HTML file are found.

Let's think of a stylesheet containing the following two lines:

<a href="working_link.html">working_link</a>
<xsl:element name="a"><xsl:attribute name="href">non_working_link.html</xsl:attribute>non_working_link</xsl:element>

This produces (after HTML - serialization) the following output:
<a href="working_link.html">working_link</a>
<a href="non_working_link.html">non_working_link</a>

It should produce (as Cocoon 2.0.4 does) the following "cocoon-view=links" output (after LinkSerialization):

But Cocoon 2.1 only shows one link after link serialization:

So my questions:
Why is the second link ignored?
Did I do something wrong when upgrading from 2.0.4 to 2.1?

Due to my investigations, no SAX events are generated for elements built in the XSL sheet
by <xsl:element> - tags.
But encodeURL-Transformer works on all "<a" - tags, even those not shown by LinkSerializer.


Dipl.-Inform. Johannes Görke
GRIS, Universitaet Tuebingen
Sand 14
72076 Tuebingen, Germany
Tel.:  +49-(0)7071-2975464

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message