|
Subject: [xsl] Consolidating xpath expressions.... From: Oliver Lord <ol@xxxxxxxxxxxxxxx> Date: Mon, 01 Dec 2003 10:47:55 +0000 |
<xsl:for-each select="//client[not($clientid) or @ID=$clientid]"> <xsl:for-each select="descendant-or-self::client"> <xsl:for-each select="usage[@TOTALSENT > 0]"> ..... do something here.... <xsl:for-each> <xsl:for-each> <xsl:for-each>
It would be really great if I could just do..... <xsl:for-each select="### super select that does all that! ###"> ..... do something here.... </xsl:for-each>
<client ID=1>
<client ID=2>
<client ID=3>
<usage @TOTALSENT=5/>
<client ID=5>
<usage @TOTALSENT=10/>
</client>
</client>
<client>
<usage @TOTALSENT=9/>
<client ID=4>
</client>
</client>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Passing XML data to HTML , SHEIKH Sajjad | Thread | Re: [xsl] Consolidating xpath expre, David Carlisle |
| Re: [xsl] Oddness with attribute va, Peter Hickman | Date | Re: [xsl] Consolidating xpath expre, David Carlisle |
| Month |