W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Problem with key!

From: Cyrill Zadra <czadra@bluewin.ch>
Date: Wed, 24 Jul 2002 16:28:28 -0400 (EDT)
Message-ID: <3D3F0DEE.70501@bluewin.ch>
To: xmlschema-dev@w3.org


I road many article to the theme unique, key an keyref but i'm still not 
understanding how it works.

In my projekt there is an element user with the attribute *id*. The user 
  element can be found many times but the id must always be a different 

<user id="1">
<user id="2">

I thougt it would be possible with "key", wouldn't it? If not, how would 
you realize this problem?

Many thanks in advance.

Received on Monday, 29 July 2002 05:23:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:04 UTC