I've been trying to iterate through an XML file using XSL , however I'm having major troubles as the only first language is being recognised. Help!
<?xml version="1.0"?>
<languages count="1">
<language>English (UK)</language>
<language>Spanish</language>
<language>Arabic</language>
</languages>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<body>
<table border="1">
<tr>
<xsl:for-each select="languages">
<th>
<xsl:value-of select="language"/>
</th>
</xsl:for-each>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>