W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2007

doubt on keyref

From: nandanprasad <pola_nandana@emc.com>
Date: Fri, 23 Feb 2007 07:49:54 -0800 (PST)
Message-ID: <9121139.post@talk.nabble.com>
To: xmlschema-dev@w3.org

Here is a skeleton of xml, Can we have a keyref element refering to key of
some other element?  In the  samples I f find  that the keyref element
normally points to key element defined within the same context eleement.


<element name="A">
<xs:key name="key1"/>
</element>

<element name="B">
<xs:keyref name="key2" refer="key1"/>
</element>

waiting for your reply, thanks in advance.

-nandan
-- 
View this message in context: http://www.nabble.com/doubt-on-keyref-tf3279549.html#a9121139
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.
Received on Friday, 23 February 2007 15:56:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:11 UTC