Crazy idea

Paul Prescod paul at
Mon Sep 6 18:56:42 BST 1999

This "stylesheet as schema" idea comes around every so often but I think
that it has one major flaw: stylesheets cannot drive syntax directed

> - XSLT is be "too strong". After all, it is Turing complete.
> XSchemas are already stronger then DTDs, for a good reason, so this might be
> an advantage. Otherwise, it might be useful to define a subset of XSLT to
> use in "schema" stylesheets.

>From a mathematical point of view, I don't think that XSchemas are much
stronger than DTDs. The set of tag-based languages they can describe are
pretty much the same. The XSLT set of languages would be radically
different. What's the XSLT equivalent for this content model:


On the other hand there are constraints that XSLT could support that
schemas probably could not.

 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list