At 06:35 PM 11/26/2004 +0800, Simon.Cox@csiro.au wrote: ><complexType name="typeA"> > <attribute name="att1" type="string"/> ></complexType> > >or ... ><complexType name="typeA"> > <complexContent> > <restriction base="anyType"> > <sequence/> > <attribute name="att1" type="string"/> > </restriction> > </complexContent> ></complexType> I can't find anything to back up this assertion, but I had always thought these two definitions were the "same", that is, they both define an empty element with an attribute. At least I use the first definition in our schemas and it seems to behave as I want/expect. Cheers, Keith -------------------------------------------------- Keith Suderman American National Corpus suderman@cs.vassar.edu http://americannationalcorpus.orgReceived on Monday, 29 November 2004 21:26:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:32 GMT