[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Rob,
At 08:45 AM 1/5/2010, you wrote:
Not exactly.
Tag omissibility is a feature of SGML but not of XML. It is one of several features in SGML that creates dependencies between documents and their DTDs, since when tags are omitted they have to be inferred, and without a DTD there is no basis for such inferences. Since XML wanted to enable parsing documents without DTDs, such features were removed.
(This is OT for XSLT though.)
Re: [xsl] Associating javascript with XSL and XML
Subject: Re: [xsl] Associating javascript with XSL and XML From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 05 Jan 2010 13:57:08 -0500 |
Rob,
At 08:45 AM 1/5/2010, you wrote:
On Tue, 2010-01-05 at 14:09 +0100, Martin Honnen wrote: > Rob Belics wrote: > > > Little known factoid: the html, body and head opening and closing tags > > are all optional. > > But not in XHTML served as XML. > > Ah, ok, because we have to not let the browser guess at how to layout the DOM?
Not exactly.
Tag omissibility is a feature of SGML but not of XML. It is one of several features in SGML that creates dependencies between documents and their DTDs, since when tags are omitted they have to be inferred, and without a DTD there is no basis for such inferences. Since XML wanted to enable parsing documents without DTDs, such features were removed.
(This is OT for XSLT though.)
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Associating javascript wi, Rob Belics | Thread | Re: [xsl] Associating javascript wi, Liam R E Quin |
[xsl] counting with position(), a kusa | Date | Re: [xsl] Modern web site design wi, Eric J. Bowman |
Month |