[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE

Subject: xsl:for-each - RETRIEVING ONLY ONE OCCURRENCE
From: "Mike Rudolph" <mrudolph@xxxxxxx>
Date: Thu, 20 Feb 2003 13:31:23 -0600
xsl for each commands
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.