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/