Subject: finite loop, incrementing, or...?
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Thu, 3 Feb 2000 09:23:32 +0100
|
Hi all,
Someone asked me this, but I couldn't think of a way to do it:
In an XML document, a start year and end year are given. E.g.
<?xml version="1.0"?>
<tscmeta>
<frequency code="ANNUAL" />
<date year="1994" month="1" day="1" />
<date year="1998" month="12" day="31" />
</tscmeta>
How can I use XSLT to output a table with columns for 1994 through 1998?
Desired output:
<table><tr><td>1994</td><td>1995</td><td>1996</td><td>1997</td><td>1998</td>
</tr></table>
Any solutions?
Linda
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|