Subject: Re: [xsl] Antwort: RE: [xsl] bad programming for speedup? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 24 Jul 2007 14:46:09 +0200 |
<xsl:template match="/">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*" />
<xsl:apply-templates select="*" /> </xsl:copy>
</xsl:template>
<xsl:template match="node() | @*"> <xsl:copy> <xsl:appy-templates select="node() | @*" /> </xsl:copy> </xsl:template>
<xsl:template match="row[position() = 1 or preceding-sibling::*[name() != 'row' and position() = 1]]" >
<table>
<xsl:apply-templates select="." mode="more2come"/>
</table>
</xsl:template>
<xsl:template match="row" mode="more2come">
<xsl:copy>
<xsl:copy-of select="@*" />
<xsl:apply-templates select="*" />
</xsl:copy>
<xsl:if test="following-sibling::*[name() = 'row' and position() = 1]">
<xsl:apply-templates select="following-sibling::row[position() = 1]" mode="more2come" />
</xsl:if>
</xsl:template>
<xsl:template match="row" >
</xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Antwort: RE: [xsl] bad progra, christoph . naber | Thread | Re: [xsl] Antwort: RE: [xsl] bad pr, Robert Koberg |
[xsl] Antwort: RE: [xsl] bad progra, christoph . naber | Date | [xsl] Antwort: Re: [xsl] bad progra, christoph . naber |
Month |