XML Schema - How can I create a comma seperated type?
Say if I have the following XML
<person friends="tom,dick,harry,paul">
<age>20</age>
</person>
How would write a 'comma-separated' type for the attribute 'friends'?
Thing is I dont want to have 'friends' as a xs:string.
I am aware of the xs:list type but that works only with white spaces not comma.
|