Stats:
Chrome 11.0
Notepad++
Basically i wrote some XSL and linked it to my XML and then Google Chrome won't display the XML file. The code is below.
and there are no error codes that chrome 11 gave.
Chrome 11.0
Notepad++
Basically i wrote some XSL and linked it to my XML and then Google Chrome won't display the XML file. The code is below.
Code:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <xsl:for-each select="recipebook/recipe"> <h1><xsl:value-of select="name"/></h1> <xsl:for-each select="ingredientlist/ingredient"> <xsl:value-of select="."/> </xsl:for-each> <xsl:for-each select="preparation/step"> <xsl:value-of select="."/> </xsl:for-each> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
Comment