Subject: Re: Using a sequence of years to select documents to display in a table row
From: "Michael Tracey Zellmann" <tracey.zellmann@xxxxxxxxx>
Date: Fri, 23 Nov 2007 17:36:48 -0500
|
Thanks you both ! Worked well and that is much cleaner.
On Nov 23, 2007 5:02 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> >
> > <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/
|