xsl-list
[Top] [All Lists]

Re: [xsl] Ordered union of sequences

2010-04-08 10:46:10
On Thu, Apr 8, 2010 at 3:28 PM, Michael Müller-Hillebrand
<mmh(_at_)cap-studio(_dot_)de> wrote:

BTW, the idea behind this is to create part of an XML Schema from evaluating 
document instances.


You do realize that this isn't possible. Any number of XML documents
you analyze, you can't be sure that the XML Schema contains
<xs:sequence>, <xs:all> or <xs:choice>, with minOccurs="0" or
maxOccurs="x" in the "right" place.

Have you considered investigating the approach of using "exclusion by
contradiction"? Rather than trying to construct the correct ordering,
look for contradictions to one of the aforementioned particle
structures, and use whatever remains.

-W

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>