[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DTD Files !

Subject: Re: DTD Files !
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 9 May 2000 16:35:43 +0100 (BST)
how to use dtd files
Eileen> Some existing tools will provide feedback to the author
Eileen> *automatically* if they create an invalid structure. 

Yes of course existing tools will use DTDs that is not surprising.
The question is whether tools need to be that way.

Eileen>	[<ek>]  Typically *outside* of their authoring environment - much
Eileen> less efficient.

again, authoring environments can and do change.

Selim> What about larger company example where everyone needs to use the same
Selim> structure with various XSL files. The XSL validation code should then be
Selim> duplicated in each of them?

Not necessarily, you can have a validating stylesheet that produces
nothing other than error messages (eg those produced by schematron)
and then separately have stylesheets doing transforms.

But note I did not say that you should not use DTD, I just queried the
statement that you _had_ to use DTD to ensure conformance.

Selim> which way do we gain performance,
Selim> By using validating parser and processing it through a light stylesheet or
Selim> by using nonvalidating parser and processing it through a heavier
Selim> (validating) stylesheet?

It is not clear to me that (say) a schematron schema is much `heavier
weight' than a DTD. Also an XSL stylesheet can check a lot more things
than are possible to check in a DTD, so if you want to enforce those
things you need some application layer to do additional checks over and
above the validating parse with a DTD, in which case an XSL stylesheet
might be quite a `lightweight' solution.

David


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.