My xml docs where working fine over a month ago. I have just gone to update the xml file and I am now receiving the following error.
Attribute 'grouping-separator' is invalid on 'xsl:value-of'.
I was wondering if someone could help. The code from my xsl can be found below
//////////////////////////////////
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
<xsl:template match="/">
<html>
<body bgcolor="#4A8FE5">
<center><img src="spn_toplogo_general.gif" /></center><br />
<h2><font face="Arial" color="#ffffff" size="4"><center>Latest Properties Costa Blanca North Inland</center></font></h2>
<center><table border="0" width="735">
<tr bgcolor="#9acd32">
<th align="left">Property deatils</th>
<th align="left">Property image</th>
</tr>
<xsl:for-each select="root/property">
<xsl:sort select="price" order="ascending" data-type="number"/>
<tr>
<td valign="top"><font face="arial" size="2" color="white"><b><xsl:value-of select="type" /> - <xsl:value-of select="town" /> - <xsl:value-of select="province" /> - <xsl:value-of select="location_detail" />
<br />Posted On: <xsl:value-of select="date"/> - Lot no: <xsl:value-of select="ref"/></b></font>
<br /><br />
<font face="arial" size="2" color="white"><b>Number of Bedrooms: </b><xsl:value-of select="beds"/> - <b>Number of Bathrooms: </b> <xsl:value-of select="baths"/></font>
<br /><br />
<font face="arial" size="2" color="white"><xsl:value-of select="desc" />
<br /><br /></font>
<font face="arial" size="3" color="white"><b>Euros <xsl:value-of select="price" grouping-separator=","/></b></font><br /><br /><br /><br />
</td>
<td valign="top"><img><xsl:attribute name="src"><xsl:value-of select="images//url"/></xsl:attribute></img>
<br /><br /><center><font face="arial" size="2" color="white">Telephone: <b>01556 610712</b><br /> For further information on this property<b><br /><br /> MORE PHOTOGRAPHS? </b><br /> Contact us if you require more photographs <br /> to be emailed to you</font></center></td>
</tr>
</xsl:for-each>
</table></center>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Attribute 'grouping-separator' is invalid on 'xsl:value-of'.
I was wondering if someone could help. The code from my xsl can be found below
//////////////////////////////////
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
<xsl:template match="/">
<html>
<body bgcolor="#4A8FE5">
<center><img src="spn_toplogo_general.gif" /></center><br />
<h2><font face="Arial" color="#ffffff" size="4"><center>Latest Properties Costa Blanca North Inland</center></font></h2>
<center><table border="0" width="735">
<tr bgcolor="#9acd32">
<th align="left">Property deatils</th>
<th align="left">Property image</th>
</tr>
<xsl:for-each select="root/property">
<xsl:sort select="price" order="ascending" data-type="number"/>
<tr>
<td valign="top"><font face="arial" size="2" color="white"><b><xsl:value-of select="type" /> - <xsl:value-of select="town" /> - <xsl:value-of select="province" /> - <xsl:value-of select="location_detail" />
<br />Posted On: <xsl:value-of select="date"/> - Lot no: <xsl:value-of select="ref"/></b></font>
<br /><br />
<font face="arial" size="2" color="white"><b>Number of Bedrooms: </b><xsl:value-of select="beds"/> - <b>Number of Bathrooms: </b> <xsl:value-of select="baths"/></font>
<br /><br />
<font face="arial" size="2" color="white"><xsl:value-of select="desc" />
<br /><br /></font>
<font face="arial" size="3" color="white"><b>Euros <xsl:value-of select="price" grouping-separator=","/></b></font><br /><br /><br /><br />
</td>
<td valign="top"><img><xsl:attribute name="src"><xsl:value-of select="images//url"/></xsl:attribute></img>
<br /><br /><center><font face="arial" size="2" color="white">Telephone: <b>01556 610712</b><br /> For further information on this property<b><br /><br /> MORE PHOTOGRAPHS? </b><br /> Contact us if you require more photographs <br /> to be emailed to you</font></center></td>
</tr>
</xsl:for-each>
</table></center>
</body>
</html>
</xsl:template>
</xsl:stylesheet>