|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Crazy idea
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@i... 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@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








