Subject: RE: [xsl] Debugging XSLT From: David.Pawson@xxxxxxxxxxx Date: Thu, 5 Feb 2004 09:21:49 -0000 |
David Tolpin wrote: 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? Both of us realize that hte latter is nonsense. I hope so. But referring to XML Schema from XSLT is exactly the same nonsense. James Clark and his NRL is tackling this problem. It defines a validation for each 'sub tree' in the same namespace, hence if xhtml and xslt were the two namespaces in use, the stylesheet is chopped up into snippets and validated against the appropriate schema, using one of a number of validation tools. http://www.thaiopensource.com/relaxng/nrl.html Regards daveP - DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Charsets in Saxon, David Carlisle | Thread | RE: [xsl] Debugging XSLT, David . Pawson |
[xsl] Charsets in Saxon, Marcus Andersson | Date | RE: [xsl] Debugging XSLT, David . Pawson |
Month |