RE: DTD Files !

Subject: RE: DTD Files !
From: "Selim Cesic" <selim.cesic@xxxxxxxxx>
Date: Tue, 9 May 2000 17:03:21 +0200
>> Although if you wanted to restrict the xml author to a certain
>> schema, you really could not do it without the DTD.
>
>Why on earth not?
>You just change the instructions and/or tools slightly.
>
>Rather than use a DTD and a validating parser, you use a non validating
>parser and arrange that every document has to go through a validating
>XSL stylesheet. You can do far more checks in XSL than you can do in a
>DTD.
>
>David


What about larger company example where everyone needs to use the same
structure with various XSL files. The XSL validation code should then be
duplicated in each of them? And in some cases, people need their own
specific stylesheets...thats a perfect opportunity to create incompatible
documents. And versioning of document structures can be done on a much
easier way by using DTD.

But, in case that the above isnt an issue, the question that I have is: on
which way do we gain performance,
By using validating parser and processing it through a light stylesheet or
by using nonvalidating parser and processing it through a heavier
(validating) stylesheet?


SeJo






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


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


Current Thread