Hi Mike,
I am not sure I understand the need for DTDs... You can use xs:ID and
xs:IDREF/xs:IDREFS in XML Schema, isn't it? And <data type="ID"/>, etc.
in Relax NG.
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 2/6/14, 11:28 AM, Michael Kay wrote:
>
> On 5 Feb 2014, at 21:55, Norman Walsh <> wrote:
>
>> Michael Kay <> writes:
>>> I can think of plenty of reasons not to use ID/IDREF without that one.
>>> #1 being that you need one of those ghastly DTDs.
>>
>> Not if you name your ID attributes 'xml:id'.
>>
>
> Doesn't help on the IDREF side...
>
> Michael Kay
> Saxonica
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe:
> subscribe:
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>