OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XSD grammar for reference

[ Lists Home | Date Index | Thread Index ]
  • To: "Prasad G S K" <prasadg@aztec.soft.net>,"xml-dev" <xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] XSD grammar for reference
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Sun, 13 Apr 2003 01:32:46 -0700
  • Thread-index: AcMBjH/8xZ3vgZl3TEiUc8iPLg6ITgACgXH4
  • Thread-topic: [xml-dev] XSD grammar for reference

This can be modelled using either ID/IDREF[0] or key/keyref[1]
[0] http://www.w3.org/TR/xmlschema-2/#IDREF 
[1] http://www.w3.org/TR/xmlschema-0/#specifying%20Keys&theirRefs


From: Prasad G S K [mailto:prasadg@aztec.soft.net]
Sent: Sun 4/13/2003 12:07 AM
To: xml-dev
Subject: [xml-dev] XSD grammar for reference

XML instance will be as follows:
<group refTo="MyGroup"/>
<group name="MyGroup">
Here "refTo" attribute should refer to the "name" attribute of another group. Can I specify the grammar for this in XSD?


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS