xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: XSL-like DTD


Subject: Re: XSL-like DTD
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 03 Sep 1999 20:04:24 +0100

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor