[Home] [By Thread] [By Date] [Recent Entries]

  • From: Eddie Robertsson <eddie@a...>
  • To: Mandeep Bhatia <mbhatia@M...>
  • Date: Fri, 16 Mar 2001 10:24:11 +1100

 

Mandeep Bhatia wrote:

Hi all,
is there equivalent of unique-identifier datatype in XML Schema Datatypes ? or has anybody defined a complex type?

Sure. If you just want the unique constraint use the Unique construct [1]. If you want to reference it as well use the Key - Keyref constructs [2].

Cheers,
/Eddie

[1] http://www.w3.org/TR/xmlschema-0/#specifyingUniqueness
[2] http://www.w3.org/TR/xmlschema-0/#specifying Keys&theirRefs


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member