xsl-list
[Top] [All Lists]

xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE

2003-02-20 12:31:23

Newbie here,

I am looking for help with the xsl:for-each command.  The individual pieces
of data are available when I 'view source' on the output, but my
stylesheet's table only displays the first occurrence, and what should be
many rows is a single row.  Here is the code.   I looked at the archives and
the discussions are complex compared to what I am attempting.  Any thoughts?


Vendor: Microsoft
Processor version: Original IE5 (or old version of other processor)


     <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>
              <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>
              </xsl:for-each>
     </TABLE>



This is a representation of my table.

PART / REV       STATUS TIMING  UOM  QTY  DELIVERY
3368979 C        FIRM  PAST DUE EACH 0000  8/5/02


----------

Mike Rudolph - EDI Coordinator
Green Bay Packaging Inc.
Phone: 920.433.5426
Fax:   920.438.5426
Email: mrudolph(_at_)gbp(_dot_)com


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



<Prev in Thread] Current Thread [Next in Thread>