Problem with key!

Hi

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 
value.

<user id="1">
	<name></name>
	<email></email>
</user>
<user id="2">
	<name></name>
	<email></email>
</user>

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

Many thanks in advance.

Cyrill

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