[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

complex uniqueness

From: AYDOS Carlos C <Carlos_AYDOS@rta.nsw.gov.au>
Date: Tue, 20 Sep 2005 18:05:24 +1000
To: xmlschema-dev@w3.org
Message-id: <CF95E76B4CDAA343A2F43638906536AE10A8F1@REDFX301.corp.rta.nsw.gov.au>
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.
Received on Tuesday, 20 September 2005 08:47:52 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.