Re: details of list.

From
James Clark <>
Date
2001-06-01T05:11:19+00:00
ID
035401c0ea59$0e38b440$
Thread
Re: details of list.
> Do we allow <list> to have <attribute>s in it?
> 
> <list>
>   <value>x</value>
>   <attribute name="abc"/>
>   <value>y</value>
> </list>
> 
>   Semantics is clear, but it looks strange. Also, it is always possible
>   to rewrite it to more natural form. So I think we are going to
>   prohibit this.

Even stranger would be:

<list>
  <choice>
     <value>x</value>
     <attribute name="x"/>
  </choice>
  <choice>
     <value>y</value>
     <attribute name="y"/>
  </choice>
</list>

I don't think we want to allow this.

James