Re: [xml-dev] Schema issue with enumerated element content

From
<>
To
Date
2005-11-18T18:52:10Z
ID
<>
Thread
Re: [xml-dev] Schema issue with enumerated element content
 writes:

> So far, I have the following, which satisfies #1, but I can't figure out how
> to add an attribute. Any ideas?
> 
> <xs:element name="ElemName">
>   <xs:complexType>
>     <xs:simpleContent>
>      .... 
>     </xs:simpleContent>
>>>>>  <xs:attribute name="attr" type="xs:string"/> <<<<< attributes go here
>   </xs:complexType>
> </xs:element>

ht
-- 
               Henry S. Thompson, Markup Technology Ltd.
     4 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- +44 (0) 7866 471 388
            Fax: (44) 131 650-4587, e-mail: 
                  URL: http://www.markup.co.uk/
[mail really from me _always_ has this .sig -- mail without it is forged spam]