[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|