xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor