Subject: RE: [xsl] Newbie encoding query From: "Passin, Tom" <tpassin@xxxxxxxxxxxx> Date: Wed, 4 Dec 2002 15:59:19 -0500 |
[ Mike Brown] > > Passin, Tom wrote: > > Yes, but the open and close tags of the html, head and body > elements > > are optional (the title element is mandatory and so are its > close and > > open tags, although I have never seen a browser that > complains about > > it being missing). > > How do you figure that <html>, <head>, and <body> are > optional? The HTML 4.0 spec seems to say otherwise. >From the DTD in the HTML 4.01 Rec - <!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head --> <!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title --> <!ELEMENT HTML O O (%html.content;) -- document root element --> <!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body --> Very clear, right? Those tags are optional. Aren't you glad you don't have to design the parser? Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Newbie encoding query, Mike Brown | Thread | Re: [xsl] Newbie encoding query, Mike Brown |
Re: [xsl] Passing params to XSLT fr, J.Pietschmann | Date | [xsl] following-sibling question, Mani Malarvannan |
Month |