Lists with uniques
Posted: Wed May 04, 2011 4:15 pm
Dear all,
I am a newbie here, and I don't know much about schemas... I am still using the GUI for that!
What am I trying to do? I'd like to create a complex type that is a list of unique elements... obviously without succeeding!
For example, I want a complex type with the following possibilities:
- a
- b
- c
- d
So, something like
is ok, and so is
However, entering the same element twice, it should raise an error:
Is it possible to do this with the GUI?
Thanks!!
I am a newbie here, and I don't know much about schemas... I am still using the GUI for that!
What am I trying to do? I'd like to create a complex type that is a list of unique elements... obviously without succeeding!
For example, I want a complex type with the following possibilities:
- a
- b
- c
- d
So, something like
Code: Select all
<mynode>
<a/>
<b/>
</mynode>
Code: Select all
<mynode>
<d/>
<a/>
</mynode>
Code: Select all
<mynode>
<d/>
<a/>
<d/>
</mynode>
Thanks!!