left ,2 i xsl kan man det ?
hvordan kan jeg få dette tal 0044005943627.4 til at kun udskrive de to første i xsl0044005943627.4 = 00
8717418081652.14 = 87
5706550090038.14 = 57
her er min xsl
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<h2>My DVD Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th align="left">Title</th>
<th align="left">#</th>
<th align="left">ID</th>
</tr>
<xsl:for-each select="Collection/DVD[CollectionType='Owned']">
<xsl:sort select="CollectionNumber" order="ascending" data-type="number" />
<xsl:sort select="Title" order="ascending" data-type="text" />
<tr>
<td>
<xsl:value-of select="Title" />
</td>
<td>
<xsl:value-of select="CollectionNumber" />
</td>
<td>
<xsl:value-of select="ID" />
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>