Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: For-each statement For-each statementTo: NULL Date: 3/24/2008 6:58:00 AM I am real new to XSL processing, Hope somebody can help me out. I have this code and would only like process the first element of the for-each statement. I am not sure how to do that and I have been searching for a solution. Any help would be appreciated. Terry <h2>Shipping Address</h2> - <table cellspacing="0" border="1" cellpadding="3" width="600"> - <tr> <td class="heading">Name</td> </tr> - <xsl:for-each select="ActionItems"> - <xsl:for-each select="ActionItem"> - <tr class="actionitems"> - <td class="actionitems"> <xsl:value-of select="@ShiptoName" /> </td> - <td class="actionitems"> <xsl:value-of select="@Comments2" /> </td> </tr> - <tr class="actionitems"> - <td class="actionitems"> <xsl:value-of select="@ShiptoStreet" /> </td> - <td class="actionitems"> <xsl:value-of select="@Comments1" /> </td> </tr> - <tr class="actionitems"> - <td class="actionitems"> <xsl:value-of select="@ShiptoCity" /> </td> </tr> - <tr class="actionitems"> - <td class="actionitems"> <xsl:value-of select="@ShiptoState" /> </td> </tr> - <tr class="actionitems"> - <td class="actionitems"> <xsl:value-of select="@ShiptoZip" /> </td> </tr> </xsl:for-each> </xsl:for-each> </table> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
