[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Schema issue with enumerated element content
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]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|