[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE
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: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
|
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
|