Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - complex uniqueness [Thread Next] RE: complex uniquenessTo: "'AYDOS Carlos C'" <Carlos_AYDOS@---.---.---.-->, <xmlschema-dev@--.---> Date: 9/20/2005 1:03:00 PM The subset of XPath allowed in specifying uniqueness constraints doesn't allow predicates, and doesn't allow use of the sibling axes, so I don't think this is possible. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w... > [mailto:xmlschema-dev-request@w...] On Behalf Of AYDOS Carlos C > Sent: 20 September 2005 09:05 > To: xmlschema-dev@w... > Subject: complex uniqueness > > > Hi, > > Does anyone knows if its possible to create a xs:key to > guarantee that the below instance document could have a > uniqueness constraint among names A,B,C,D of only the 2nd,3rd > and 4th pointSets (they are linked via the attribute 'extends') > > Carlos > > <root> > <pointSet type="ordinary"> > <point name="A"/> > <point name="B"/> > </pointSet> > <pointSet type="basic"> > <point name="A"/> > <point name="B"/> > </pointSet> > <pointSet type="complex" extends="basic"> > <point name="C"/> > </pointSet> > <pointSet type="verycomplex" extends="complex"> > <point name="D"/> > </pointSet> > </root> > > IMPORTANT NOTICE: This e-mail and any attachment to it are > intended only to be read or used by the named addressee. It > is confidential and may contain legally privileged > information. No confidentiality or privilege is waived or > lost by any mistaken transmission to you. The RTA is not > responsible for any unauthorised alterations to this e-mail > or attachment to it. Views expressed in this message are > those of the individual sender, and are not necessarily the > views of the RTA. If you receive this e-mail in error, please > immediately delete it from your system and notify the sender. > You must not disclose, copy or use any part of this e-mail if > you are not the intended recipient. > > From K.Buchcik@4... Wed Sep 21 10:05:07 2005 Received: from maggie.w3.org ([193.51.208 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
