cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Kreipke" <...@onclave.com>
Subject RE: New ESQL changes...
Date Thu, 19 Oct 2000 18:40:11 GMT
Donald,

Further thoughts about xspdoc?

Per

> -----Original Message-----
> From: Per Kreipke [mailto:per@onclave.com]
> Sent: Tuesday, October 17, 2000 4:42 PM
> To: cocoon-dev@xml.apache.org
> Subject: RE: New ESQL changes...
>
>
> Donald,
>
> 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>
>  </xsl:template>
>
> 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:
>
> <xsl:apply-templates
>    select="following-sibling::xsl:template[position() = 1]/@match"/>
>
>
> Per.
>
>


Mime
View raw message