produce valid XHTML? Since a schema for XHTML already exists, isn't it
rather simpler just to refer to it?
no. It is not. There is no such thing as document type in XSLT except
for the validation kludge. I believe that it cannot be added to the
language as it has been done. Either a document type is a part of the
language, and that would be very unfortunate to have XML Schema used
for that, with its errata exceeding in size the specification; or
it should not be done within the language.
How can I assert that the stylesheet produces a nice-looking XHTML?
Since browsers for XHTML already exist, isn't it rather simple
to just launch a browser from XSLT 2.0 stylesheet and just see
whether the result is nice?
I am currently trying to track down an XHTML problem. I would love to
have the transformation break at the point of the error. I hate having
to view source and copy the contents to a new file to submit it for
validation (the render is dynamic).
-Rob
Both of us realize that hte latter is nonsense. I hope so.
But referring to XML Schema from XSLT is exactly the same nonsense.
David Tolpin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list