Subject: RE: Using a sequence of years to select documents to display in a table row
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 23 Nov 2007 22:02:38 -0000
|
> <xsl:variable name="docs" select="documents/document"/>
> <xsl:for-each select="1842 to 1862">
> <tr><td><xsl:value-of select="."/></td>
> <td>
> <xsl:apply-templates select="$docs[year = . and
> contains(title, 'Selectmen')"/>
I suspect this should be
<xsl:apply-templates select="$docs[year = current() and contains(title,
'Selectmen')"/>
Michael Kay
http://www.saxonica.com/
|