XSL: Can't display my generated XML

Inarnebraks

New Member
I'm using XSL to generate an XML from another XML file. But none of my browsers can display it. Here's the beginning of the XML file:\[code\]<?xml version="1.0" encoding="ISO-8859-1"?><?xml-stylesheet type="text/xsl" href="http://stackoverflow.com/questions/10524469/test.xslt"?><records><band name="muse"> <name>MUSE</name> <member>Matthew Bellamy</member> <member>Dominic Howard</member></band><records>\[/code\]And the XSL file\[code\] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="utf-8" indent="yes" standalone="yes" /> <xsl:template match="/"><RESPONSE> <xsl:text>toto</xsl:text> <RECORDS> <xsl:attribute name="COUNT"> <xsl:value-of select="count(//record)"/> </xsl:attribute> <RECORDS><RESPONSE>\[/code\]The word "toto" is displayed, but none of my tags appear. Can you please help me?
 
Back
Top