[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Ignore closing tag


Subject: Re: [xsl] Ignore closing tag
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 14 Jan 2010 15:48:53 +0100

Hi David,

Abel

If it isn't required, but it isn't hurting either, and when it is used for machine-reading (as opposed to human-reading), then why bother trying to write "<elem>data" instead of "<elem>data</elem>"?

With the default sgml declaration, a closing tag for an element declared
empty would be an error, as for example <img></img> is an error in
HTML.

I understand. But I was really just reacting to the phrase "not required" in the original question, assuming that "not required" meant: not required, but allowed. Of course, I can't know without seeing the real DTD.


Regards,
Abel


Current Thread