Mick and Ritu,
Thanks for the responses. Here is a rundown of the solution:
1. What I thought was valid 'source' data, or XML, was not valid. I tweaked
my upstream map to fix that.
2. Also, the snip of code I had in my email was not current. I added the
</TR> that was obviously missing, and also wrapped all the commands withing
the xsl:for-each with another <TR>...</TR>. Here is the updated version of
the code.
<TABLE BORDER="4" WIDTH="100%" VALIGN="TOP" CELLPADDING="5">
<COLGROUP ALIGN="CENTER"><TH COLSPAN="2">PART / REV</TH>
<TH>STATUS</TH><TH>TIMING</TH><TH>UOM</TH><TH>QTY</TH>
<TH>DELIVERY</TH></COLGROUP>
<TR>
<xsl:for-each select="FOR/ITEM_DETAIL">
<TR><TD><xsl:value-of select="CUSTOMER_PART_NUM" /></TD>
<TD><xsl:value-of select="PART_REV_LEVEL" /></TD>
<TD><xsl:value-of select="FORECAST_STATUS_DESC" /></TD>
<TD><xsl:value-of select="FORECAST_TIMING_DESC" /></TD>
<TD><xsl:value-of select="UNIT_OF_MEASURE_DESC" /></TD>
<TD><xsl:value-of select="QUANTITY" /></TD>
<TD><xsl:value-of select="REQUEST_DELIVERY_DATE" /></TD></TR>
</xsl:for-each>
</TR>
</TABLE>
Thanks again.
Mike
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
Mick Storm
Sent: Thursday, February 20, 2003 1:47 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE
<TD><xsl:value-of select="QUANTITY" /></TD>
<TD><xsl:value-of select="REQUEST_DELIVERY_DATE" /></TD>
</xsl:for-each>
It looks like you are missing a </tr> before the </xsl:for-each>. Look
at the source of the HTML and see if the results are there, and are not
being rendered because of invalid HTML
-Mick Storm
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list