Hi Oliver, > The idea behind is that the element 'A' can EITHER have > a reference to a document fragment OR the document > fragement is part of the document instance (inline). > > [For my understanding] > I can do that with the usage of 'derived types'. But > I do not want to introduce the 'xsi:type' attribute. > > Currently I'm not sure if that is possible at all with > XML Schema. It might be that someone has an idea. I'm afraid that you cannot articulate this kind of constraint in XML Schema without using xsi:type. You might be interested in looking at Schematron or RELAX NG as schema adjuncts, both of which can describe these kinds of co-occurrence constraints. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/Received on Tuesday, 15 January 2002 11:11:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT