|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Cannot select a node here: the context item is an
Sorry, you're right. Something like this:
-------------------------------------------------------
<xsl:variable name="one-day" select="xdt:dayTimeDuration('P1D')"/>
<xsl:variable name="rows" select="/rowset/row>
<xsl:for-each select="1 to $dayCount">
<xsl:variable name="day" select="($date1 + ($one-day * .))"/>
<tr>
<td>
<xsl:value-of select="format-dateTime($day,'[Y,*-2]-[M,2]-[D,2]')"/>
</td>
<xsl:for-each select="$rows">
<td>
<xsl:value-of select="value[@day=$day]"/"/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
> Are you going to post the working stylesheet, for the archive?
> I'd certainly find it useful.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








