ID/IDREF or Key/Keyref
I start to study XML and have a question. What`s the difference
and Key/Keyref? What's better to use?
Re: ID/IDREF or Key/Keyref
> I start to study XML and have a question. What`s the difference
> between ID/IDREF
> and Key/Keyref? What's better to use?
DTDs only support ID/IDREF while XSD schemas additionally support
key/keyref. ID values need to be unique in the complete document, with
key values there is no such requirement for the complete document.
Additionally you can form a key from various element or attribute
values, that is not possible with ID. See
|All times are GMT. The time now is 02:11 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.