[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xml-dev] How to Unique contraint
- From: "Michael Kay" <mike@...>
- To: <smcardle@...>,<xml-dev@...>
- Date: Wed, 21 Mar 2007 18:10:43 -0000
>
> 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/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|