If we have a look at the source for the XSLT 2.0 spec, the
following might surprise you:
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 1st December 2004), see
www.w3.org" />
The build scripts generate HTML from XML using XSLT as you would expect. As
a final step they then put the HTML through the tidy process. I've been
wanting to get rid of this step for a while because I don't think it should
be necessary: someone added it because it was easier than fixing the source
XML and/or the stylesheets whenever the combination was found to generate
invalid HTML (which generally arises through problems of nesting paragraphs
within lists within paragraphs, etc.)
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--