cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Kreipke" <>
Subject RE: New ESQL changes...
Date Tue, 17 Oct 2000 20:42:05 GMT

This comment of mine earlier was vague, thought I'd be more specific.

> In tagdocs.xsl you'll see I had to tweak your version from
> skins/../xsp2document.xsl (sp?), it associated xspdoc:desc's to the wrong
> xsl:template items).

In xspdoc2document.xsl, you have:

 <xsl:template match="xspdoc:desc">
  <dt><xsl:value-of select="following-sibling::xsl:template/@match"/></dt>
  <dd><xsl:apply-templates select="text()"/></dd>

but <xsl:value-of select="following-sibling::xsl:template/@match"/> will
match the next xsl:template in the file, not necessarily only the one which
follows immediately after. The following will:

   select="following-sibling::xsl:template[position() = 1]/@match"/>


View raw message