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

RE: [xsl] how to close html tags : link, meta,...


Subject: RE: [xsl] how to close html tags : link, meta,...
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 13 Aug 2003 18:32:30 +0100

> If content is not required (which is the case), both 
> notations MUST be allowes, otherwise XHTML would not conform 
> to the XML spec.

I think everyone is talking at cross-purposes here.

XHTML is XML and you can write the tags any way that XML allows.

But XHTML also includes an appendix giving advice on how to select XML
representations that will give adequate results on browsers that were
designed to handle HTML rather than XHTML. The XSLT 2.0 option
<xsl:output method="xhtml"> is designed to produce output that follows
this advice. Without this option, you are probably better off producing
HTML.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords