Re: [xsl] Transforming XML to HTML Table

Subject: Re: [xsl] Transforming XML to HTML Table
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 14:59:56 +0200
Nick Foster wrote:

but I only got the value of the first sample in all columns.  Is there a
way of looping through the $columntitles/labels and selecting the sample
where the label matches  in the current row?

Try <xsl:for-each select="$columntitles"> <TD> <xsl:value-of select="$samples[label=current()/label]/displayval"/> </TD> </xsl:for-each>

But what's order? You've got "sample 1" in first row and "Sample 1" in the second one. Is this a typo?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread