[Home] [By Thread] [By Date] [Recent Entries]

Subject: How do I display data one item at a time?
From: Max Bronsema <max.bronsema@xxxxxxxxx>
Date: Thu, 5 May 2005 10:41:42 -0600
Hi Jay and other knowledgeable people,

With Jay's help I have been able to output all the data I needed into
a table structure. Thanks Jay. Now that it is displaying all the data
though it displays it all at once. I need it to show one item at a
time and then move on to the next one.
Example:

<tr>
     <td><xsl:apply-templates select="staffOffice/Office/dptFull"/></td>
   </tr>
   <tr>
     <td><xsl:apply-templates select="staffOffice/Office/Location"/></td>
     <td><xsl:apply-templates select="staffOffice/Office/Phone"/></td>
   </tr>
   <tr>
	   <td><xsl:apply-templates select="staffPersonal/Person/lName"/>
			   <xsl:text>,</xsl:text>
			   <xsl:apply-templates select="staffPersonal/Person/fName"/>
	   </td>
	   <td><xsl:apply-templates select="staffTitle/Position/Phone"/></td>
   </tr>

<tr>
     <td><xsl:apply-templates select="staffOffice/Office/dptFull"/></td>
   </tr>
   <tr>
     <td><xsl:apply-templates select="staffOffice/Office/Location"/></td>
     <td><xsl:apply-templates select="staffOffice/Office/Phone"/></td>
   </tr>
   <tr>
	   <td><xsl:apply-templates select="staffPersonal/Person/lName"/>
			   <xsl:text>,</xsl:text>
			   <xsl:apply-templates select="staffPersonal/Person/fName"/>
	   </td>
	   <td><xsl:apply-templates select="staffTitle/Position/Phone"/></td>
   </tr>


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member