- From: Michael Anderson <michael@research.canon.com.au>
- Date: Thu, 25 Jan 2001 11:50:41 +1100
- To: "Kollu, Kishore" <kishore_kollu@mentorg.com>
- Cc: "Xml-Schema-Dev (E-mail)" <xmlschema-dev@w3.org>
"Kollu, Kishore" wrote: > Hi, > Can I define a list element with an attribute? If so how? > > I would like to have an element like : > > <terminals n="4">t1 t2 t3 t4</terminals> Sure, create a complexType with simpleContent that extends your list SimpleType by adding an attribute. See the Primer Sections 2.3.1 and 2.5.1. mick.
Received on Wednesday, 24 January 2001 19:50:47 UTC