|
Subject: Re: [xsl] keys and variables VIII From: Steve <subsume@xxxxxxxxx> Date: Wed, 2 Aug 2006 16:51:47 -0400 |
Dual key solution was neccesary after all because this was pulling only the count of the first instance of $type, not all option/@oldIDs with a type of @type.
<table border="1">
<xsl:for-each select="$Definitions/disabilities/option[generate-id(.)=generate-id(key('options',@type)[1])]">
<xsl:sort select="@type"/>
<tr>
<td>
<xsl:value-of select="@type" />
</td>
<td>
<xsl:variable name="current" select="key('types',@type)" />
<xsl:for-each select="$vP2disab">
<xsl:value-of select="count(key('records',$current/@oldID))" />
</xsl:for-each>
</td>
</tr>
</xsl:for-each>
</table>At 2006-08-02 13:41 -0400, Steve wrote: >Having some difficulty with output. Perhaps someone can shed some >light as to why.
It appears you were searching the wrong file and key table for the records.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] keys and variables VIII, Steve | Thread | [xsl] Global parameters with UTF-8 , David Nesbitt |
| Re: [xsl] Global parameters with UT, David Carlisle | Date | RE: [xsl] Global parameters with UT, Waters, Michael, Spr |
| Month |