RE: [xml-dev] How to Unique contraint

From
Michael Kay <>
To
,
Date
2007-03-21T18:10:43
ID
<012401c76be4$3dcbcb30$6401a8c0@turtle>
Thread
RE: [xml-dev] How to Unique contraint
> 
> Does anybody know how to do this so it looks something like 
> the following INVALID constraint, but I hope you get the picture.
> 
> <xs:unique name="port">
> 	<xs:selector xpath="anElement"/>
> 	<xs:field xpath="@debug-port | @port"/> </xs:unique>
> 

What makes you think this constraint is invalid? It looks OK to me.

Michael Kay
http://www.saxonica.com/