RE: DTD Files !

Subject: RE: DTD Files !
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 9 May 2000 10:04:17 +0100
> Why on earth most of the examples i found on internet don't 
> use a DTD file ?

This isn't an XSL question but I'll answer it anyway.

I very rarely use DTDs because (a) they can only do half the validation, the
rest needs to be done in the application (b) it's easier to write the
validation rules in XSLT (c) I don't want to validate the document every
time I read it, I only want to do it once (d) by controlling validation from
the application, you avoid the messy problem of a document that references a
different DTD from the one you want to validate it against.

Others will disagree with me!

Mike Kay


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


Current Thread