I put my code in the XML validation website and it gives me this error:
Line 8: 4 The markup in the document following the root element must be well-formed.
The line that is having an issue is the <xsl:output method = "html" doctype-system = "about:legacy-compat"/>, line.
XML
<?xml version="1.0"?>
<!-- Fig. 15.21: sorting.xsl -->
<xsl:stylesheet version = "1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
<!-- write XML declaration and DOCTYPE DTD information -->
*<xsl:output method = "html" doctype-system = "about:legacy-compat" />*
<!-- match document root -->
<xsl:template match="/"> -<html> <xsl:apply-templates/> </html>
</xsl:template>