and the XML code isCode:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:apply-templates select="ProductData/Product"> </xsl:template> <xsl:template match="ProductData/Product"> <font color="green"> <LI><xsl:apply-templates/></LI> </font> </xsl:template>
and the following error is displayed while opening in IECode:<?xml version="1.0"?> <?xml:stylesheet type="text/xsl" href="Product.xsl"?> <ProductData> <Product ProdID="1"> <ProductName>Curd Mixer</ProductName> <Price>20</Price> </Product> <Product ProdID="2"> <ProductName>Milk Mixer</ProductName> <Price>40</Price> </Product> </ProductData>
Line: 4
Char: 3
Error: End tag 'xsl:template' does not match the start tag 'xsl:apply-templates'.
Code:0
URL:file....




Reply With Quote