[
Lists Home |
Date Index |
Thread Index
]
- From: Paul Prescod <paul@prescod.net>
- To: XMLDev list <xml-dev@ic.ac.uk>
- Date: Mon, 06 Sep 1999 09:45:13 -0700
This "stylesheet as schema" idea comes around every so often but I think
that it has one major flaw: stylesheets cannot drive syntax directed
editors.
> - 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:
((a*,(b|c)+,d)+|(d,(b|c)*,d?)+)
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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
- References:
- Crazy idea
- From: "Oren Ben-Kiki" <oren@capella.co.il>
|