Next in thread → Next in month →

RE: [xml-dev] XSD grammar for reference

From
Dare Obasanjo <>
To
Prasad G S K <>, xml-dev <>
Date
2003-04-13T08:32:46Z
ID
<>
Thread
RE: [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:]
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">
    <...>
    <...>
</group>
 
Here "refTo" attribute should refer to the "name" attribute of another group. Can I specify the grammar for this in XSD?
 
regards,
GSK
Next in thread → Next in month →