Validate list (XML Schema)

Dear,

I have problem in writing XML schema for the following
xml code

<list>Alan,Andrew,Santy<list>

I have tried to write it in the following way
<xsd:simpleType name="PatronsType">
    <xsd:list itemType="xsd:string" />
</xsd:simpleType>

the problem is "how to validate the value of list tag
to not be able to have repeating value
eg. <list>Alan,Andrew,Santy,Andrew<list>

note:the above xml, the Andrew is repeated.

Thank you,

Cheers,
San

http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search

Received on Tuesday, 23 September 2003 02:37:08 UTC