Re: List Element with an attribute

"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