Subject: Re: [xsl] Self-closing elements upset some browsers From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Fri, 14 Mar 2008 14:46:57 +0100 |
I am importing legacy into a 3rd party tool and I find my self in the situation where I need valid XHTML _and_ end-tags - this is not my decision. I tried using the <xsl:output method="html"> but it inserts <meta> without a closing tag and the file becomes invalid xml and subsequently fails to import.
Incidentally David, the problem with empty script elements, that is <script href="" /> style, was exhibited by Firefox. It basically missed the end-tag and assumed everything was script until the closing tag of an actual non-empty script further down the file. It (very usefully) also showed this behaviour in the syntax highlighting of it's source viewer.
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Self-closing elements ups, Marroc | Thread | Re: [xsl] Self-closing elements ups, Martin Honnen |
RE: [xsl] Self-closing elements ups, Marroc | Date | Re: [xsl] Self-closing elements ups, Martin Honnen |
Month |