This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Control over html output
> Generally, is an XSLT processor implementer supposed to go through
> every HTML user agent (which doesn't necessarily mean browser -
No, they trust the HTML agent implementor faithfully implements the HTML
4 spec:
B.3 SGML implementation notes
B.3.1 Line breaks
SGML (see [ISO8879], section 7.6.1) specifies that a line break
immediately following a start tag must be ignored, as must a line
break immediately before an end tag. This applies to all HTML elements
without exception.
which means you can insert white space for indentation putposes at those
places. (Or W3C specs are not consistent or browsers don't implement the
specs correctly, and neither of those could be the case, surely.)
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list