xsl-list
[Top] [All Lists]

RE: how to close html tags : link, meta,...

2003-08-13 10:32:30
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