Re: [xml-dev] ID/IDREF is evil
On 8 Feb 2014, at 10:10, George Cristian Bina <> wrote: > 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. > Yes, but if you're using XML Schema you don't need ID/IDREF, because you can use key/keyref which is far more flexible (though still, sadly, scoped to a single document). Michael Kay Saxonica