Ok I'm trying to develop my first dynamic page with a XML feed. The code below works to display the first record of the file, then I moved on to have all records displaying and it all fall in a heap.
With a
"SAXParseException: Expected end of tag 'table' (Untitled-6.xsl, line 72, column 3)"
error message. The line it refers to is </xsl:for-all> which I thought was the correct code to cycle through and display all record in the table.
Can anyone assist me in identifying where this is falling over.
Micheal
Code
<table width="1500" border="1" cellpadding="2">
<tr bgcolour="#9acd32">
<th>Class</th>
<th>Co Drivers first Name</th>
<th>Co Driver Surname</th>
<th>Nationality </th>
<th>Drivers First name </th>
<th>Driver Surname</th>
<th>Entrant</th>
<th>Group</th>
<th>Manufacturer</th>
<th>Nat</th>
<th>No</th>
<th>Priority</th>
<th>Vehicle</th>
</tr>
<xsl:for-each select="main/entry"/>
<tr>
<td><xsl:value-of select="main/entry/@class" /></td>
<td><xsl:value-of select="main/entry/@coDriverName" /></td>
<td><xsl:value-of select="main/entry/@coDriverSurname" /></td>
<td><xsl:value-of select="main/entry/@coNat" /></td>
<td><xsl:value-of select="main/entry/@driverName"/></td>
<td><xsl:value-of select="main/entry/@driverSurname"/></td>
<td><xsl:value-of select="main/entry/@entrant"/></td>
<td><xsl:value-of select="main/entry/@group"/></td>
<td><xsl:value-of select="main/entry/@manufacturer"/></td>
<td><xsl:value-of select="main/entry/@nat"/></td>
<td><xsl:value-of select="main/entry/@no"/></td>
<td><xsl:value-of select="main/entry/@priority"/></td>
<td><xsl:value-of select="main/entry/@vehicle"/></td>
</tr>
</xsl:for-all>
</table>