W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2005

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>

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:51 GMT