[Home] [By Thread] [By Date] [Recent Entries]
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@a...] Sent: Sun 4/13/2003 12:07 AM To: xml-dev Subject: XSD grammar for reference XML instance will be as follows: <group refTo="MyGroup"/> ... ... <group name="MyGroup"> <...> <...> </group> Here "refTo" attribute should refer to the "name" attribute of another group. Can I specify the grammar for this in XSD? regards, GSK
|

Cart



