-
1 Attachment(s)
XSLT headache
I'm not quit sure what i'm missing but I need to insert some data into a table using XSLT. I just can't seem to get the class child data from the XML file to be inserted after the term header. I have zip up the files if anyone can help me out. I'm using MS Visual Studio.Net for this adventure.
Matthew Nace
[email protected]
-
Close...You're xpath expression was a little off.
Code:
<xsl:for-each select="/School/Terms/Class">
<TR>
<TD><xsl:value-of select="Semester"/></TD>
<TD><xsl:value-of select="Name"/></TD>
<TD><xsl:value-of select="Course"/></TD>
<TD><xsl:value-of select="Teacher"/></TD>
<TD><xsl:value-of select="Grade"/></TD>
</TR>
</xsl:for-each>