Please add this to 1.1, it is so much easier than using substitution groups!!!!!!!!!!!!!!!!!!!!!!!!!!!! Schema now allows one to do sequence of ANY, and restrict ANY to a namespace. I would love the ability to restrict ANY to a certain type and subtypes of that type. Is there a reason not to do this?? <complexType name="basetype"> <sequence> <any restriction="myType" maxOccurs="unbounded"/> </sequence> </complexType> This would allow only a sequence of elements of type "myType" or restrictions of "myType", And would allow the following!!! <complexType name="newtype"> <complexContent> <restriction base="basetype"> <sequence> <element name="e1" type="myTypeRestriction1"/> <element name="e2" type="myTypeRestriction2"/> <element name="e3" type="myTypeRestriction3"/> </sequence> </restriction> </complexContent> </complexType> thank you, Joseph Coyle, MD Medical Informatics Intermountain Health CareReceived on Wednesday, 27 March 2002 20:19:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:00 GMT