|
Subject: Re: [xsl] A question on optimization From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Wed, 03 Nov 2004 09:56:47 +0100 |
<xsl:for-each select="//justus:choice">
<xsl:element name="TR">
<xsl:variable name="current" select="."/>
<xsl:for-each select="//justus:part[@visible='true']">
<xsl:variable name="dbfeld" select="."/>
<xsl:element name="td">
<xsl:for-each
select="$current/@*[name()=$dbfeld/@dbfeld]">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:for-each>
<xsl:for-each select="//justus:choice">
<xsl:element name="tr">
<xsl:element name="td"><xsl:value-of select="a1"/></xsl:element>
<xsl:element name="td"><xsl:value-of select="a2"/></xsl:element>
...
</xsl:element>
</xsl:for-each>
<xsl:key name="choices" match="justus:choice" use="'all'" /> <xsl:key name="parts" match="justus:part" use="'all'" />
Grtz, Geert
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] A question on optimizatio, David Carlisle | Thread | RE: [xsl] A question on optimizatio, Michael Kay |
| [xsl] Using normalize-space to test, Andrew Welch | Date | RE: [xsl] Using normalize-space to , Jarno.Elovirta |
| Month |