Re: How to reference attributes from list items

> it was understood from the start that more general co-occurrence
> constraints would be need, but I'm not at all sure in retrospect that we
> did the right thing to do key/keyref first.

Thanks for the insight. I guess in order to express co-occurrence
constraints in a general way you would need some kind of if-then-else
constructs. Meanwhile, I'm sure you love to see people misusing keys to do
things such as:

<xsd:key name="commentValue">
   <xsd:selector xpath="comments/comment"/>
   <xsd:field xpath="@value|value"/>
</xsd:key>

...


--
Eric Jain

Received on Monday, 9 September 2002 12:40:37 UTC