Done playing with xsl for a while. It just does not work as I want with respect to xhtml.
This commit is contained in:
+14
-10
@@ -4,20 +4,24 @@
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:sm="http://www.stepmania.com"
|
||||
exclude-result-prefixes="sm"> <!-- keep xslt from spittingout namespace info. -->
|
||||
<!-- This could be xhtml 1.0 strict, but firefox is failing at xml -> xhtml, or something
|
||||
<xsl:output method="xml" encoding="UTF-8" version="1.0" standalone="yes"
|
||||
doctype-system="http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd"
|
||||
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" />
|
||||
-->
|
||||
<!--<xsl:output method="html" encoding="UTF-8" version="4.01" standalone="yes"
|
||||
<!-- This could be xhtml 1.0 strict, but firefox is failing at displaying the
|
||||
resultant document even though it seems to parse it just fine. -->
|
||||
<xsl:output method="html"
|
||||
version="4.01"
|
||||
encoding="UTF-8"
|
||||
doctype-system="http://www.w3.org/TR/html4/strict.dtd"
|
||||
doctype-public="-//W3C//DTD HTML 4.01//EN" />-->
|
||||
<xsl:output method="xml" encoding="UTF-8" version="1.0"
|
||||
doctype-public="-//W3C//DTD HTML 4.01//EN"
|
||||
media-type="text/html" />
|
||||
<!--
|
||||
<xsl:output method="xml"
|
||||
version="1.0"
|
||||
encoding="UTF-8"
|
||||
doctype-system="http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd"
|
||||
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
media-type="application/xhtml+xml"
|
||||
indent="yes"/>
|
||||
media-type="application/xhtml+xml" />
|
||||
-->
|
||||
<xsl:template match="/">
|
||||
<xsl:comment>This file is automatically generated. Do not edit it.</xsl:comment>
|
||||
<html>
|
||||
<head>
|
||||
<title>StepMania LUA Information</title>
|
||||
|
||||
Reference in New Issue
Block a user