Re: Where can I find the XSLT DTD?

Subject: Re: Where can I find the XSLT DTD?
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 03 Feb 2000 14:16:11 -0500
At 07:16 PM 2/3/2000 +0100, Yann Desnoues wrote:
I'll never be able to validate ANY of my XSL doc?

No... unless you do as Lars just suggested, and create an application-specific DTD for use in validating your stylesheet. This can be quite complicated; if XHTML were the result tree's vocabulary, for instance, you'd have to allow for the appearance of just about any XHTML element as a child of just about any XSLT element.


As someone else said, almost no one bothers checking XSLT stylesheets for validity -- well-formedness is all right, as long as the XSLT processor (XT, SAXON, whatever) detects syntax and other XSLT-specific errors. Validity in the XML sense is not critical for XSLT. Actually, I'd guess that absolutely no one bothers to check validity of stylesheets; the "almost" is just a hedge. :)

But may the good question is what to use as an XSL editor?

I use a general-purpose text editor and suspect that may be the norm for others here (can't speak for them of course). I understand that Excelon's/ObjectDesign's commercial package Stylus includes a W3C-compliant XSL editior, but I haven't used it myself. Information is at:
http://www.odi.com/products/excelon_stylus.html


=============================================================
John E. Simpson
simpson@xxxxxxxxxxx
-------------------------------------------------------------
I put contact lenses in my dog's eyes. They had little
pictures of cats on them. Then I took one out and he ran
around in circles.  (Stephen Wright)


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread