Re: content attribute ?

Thanks Henry.

My corrections were based on section "2.5.3 Empty content" of the XML
Schema 0 document. Could you please explain me briefly the differences
between these two corrections?. Of course, I like much better your
corrections. :-)

John


On 5 Oct 2000, Henry S. Thompson wrote:

> Your corrections are correct :-)
> 
> However, the following simpler forms are also OK:
> 
> puninj@cs.rpi.edu writes:
> 
> <xs:element name="et2">
>   <xs:complexType>
>         <xs:attribute ...>. . . </xs:attribute>
>   </xs:complexType>
> </xs:element>
> 
> 
> <xs:complexType name="myelement">
>         <xs:attributeGroup ref="myAttrGroup"/>
> </xs:complexType>
> 
> ht
> -- 
>   Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
>           W3C Fellow 1999--2001, part-time member of W3C Team
>      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
> 	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
> 		     URL: http://www.ltg.ed.ac.uk/~ht/
> 

Received on Thursday, 5 October 2000 15:16:38 UTC