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

Re: XSL-like DTD

Subject: Re: XSL-like DTD
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 03 Sep 1999 20:04:24 +0100
Re: XSL-like DTD
I am coming to think very heretical thoughts. Surely XML is all about
explicit markup? And being equally human and machine readable?

Would it be totally crazy to propose that we abolish nested
content-models for a simple schema standard? 

This would allow the content model for any one element to be "all",
"sequence", "choice", "mixed", "empty", or "any". If you want a compound
structure, eg "(head, (p | list | note)*, div2*)", then you take the the
nested structure - in this case "(p | list | note)*" - and invent an
element with that content model as a container for that part of the
content.

Admittedly this is more verbose, but I have been looking at the "all"
compositor in XML Schema, and while my views may be coloured by the fact
that I am attempting to use pure XSLT, I'm now convinced that having an
"all" at the top of a deeply nested element content model simply takes
exponential time to process and probably cannot be validated by the hand
for any sufficiently complex document. Why are we flying so far from the
spirit of XML?

Francis.


Nikita Ogievetsky wrote:
> 
> For more on this please see:
> http://www.redrice.com/ci/generatingXslValidators.html
> and
> http://www.oasis-open.org/cover/xslAsValidator19990124.html
>


 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.