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

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
Keywords