[Home] [By Thread] [By Date] [Recent Entries]


russ@w... 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: ht@m...
                  URL: http://www.markup.co.uk/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member