Re: [xsl] xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE

Subject: Re: [xsl] xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE
From: "Ritu" <rkama@xxxxxxxxxxx>
Date: Thu, 20 Feb 2003 13:41:42 -0600
Did you miss the </TR> in your stylesheet or just while pasting it here.
Additionally please post your XML for more investigation


Ritu Kama
Sarvega Inc
745, McLintock Dr
Burr Ridge
IL - 60527
----- Original Message -----
From: "Mike Rudolph" <mrudolph@xxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 20, 2003 1:31 PM
Subject: [xsl] xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE


>
> 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@xxxxxxx
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread