W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

RE: open schema

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 22 Aug 2001 08:23:33 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB8D4F13@red-msg-12.redmond.corp.microsoft.com>
To: "estee" <estee@isdn.net.il>, <xmlschema-dev@w3.org>
Did you look at the <anyElement> construct?  This should do what you
need.

All the best, Ashok 
=========================================================== 
Ashok Malhotra              <mailto: ashokma@microsoft.com
<mailto:%20ashokma@microsoft.com> > 
Microsoft Corporation 
 

 

-----Original Message-----
From: estee [mailto:estee@isdn.net.il] 
Sent: Tuesday, July 24, 2001 2:33 PM
To: xmlschema-dev@w3.org
Subject: open schema

 

Ive posted aquestion similar to this one some time ago.

However, I would like to try and refine my question and ask it more
acuratly :

 

Is there any possibility to define (in an xml schema) a type, containing
only simple types, of which some are required, and all the others
unknown.

In other words: define a type in which i know what elements are supposed
to be present, but do not know which "might" be present.

 

eg:

the following type must contain 'a', 'b', and 'c', but might also
contain some other elements. It is also important to state that the
order af appearance is of no siginificance.

 

    <letters>

        <a/>

        <hollat/>

        <c/>

        <club/>

        <b/>

        <smit/>

        <pliq/>

    </letters>

 

I am searching for a solution in which all elements are of same
namespaces.

 

 

Thanks for reading

    Hope to hear from any one of you

        Oded
Received on Wednesday, 22 August 2001 11:24:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT