Cannot figure out what is wrong with this stylesheet - attach it to any xml, it doesn't actually use the xml in this stripped down example:

<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
	<xsl:output method='html' indent='yes' media-type='text/html' />

	<xsl:variable name='columns' select='10' />

	<xsl:template match='/'>
		<table>
			<tr>
				<td>
					<xsl:attribute name='colspan'><xsl:value-of select='floor( $columns / 3 )' /></xsl:attribute>
					column 1
				</td>
				<td>
					<xsl:attribute name='colspan'><xsl:value-of select='ceiling( $columns / 3 )' /></xsl:attribute>
					column 2
				</td>
				<td>
					<xsl:attribute name='colspan'><xsl:value-of select='floor( $columns / 3 )' /></xsl:attribute>
					column 3
				</td>
			</tr>
		</table>
	</xsl:template>

</xsl:stylesheet>

Firefox keeps telling me Error loading stylesheet: XPath parse failure: Name or Nodetype test expected: (yeah it stops there)
the error reporting tool tells me it's apparently having an issue with the closing attribute tag...

Again. slightly obvions answer. Seems as if posting here just helps me see the stupid thing I did, probably because I can't figure out how to delete a post...

Anyhows, yeah, I was using '/' instead of 'div'.

This question has already been answered. Start a new discussion instead.