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(_at_)mulberrytech(_dot_)com
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
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--