[Home] [By Thread] [By Date] [Recent Entries]

  • From: George Cristian Bina <george@o...>
  • To: Michael Kay <mike@s...>, Norman Walsh <ndw@n...>
  • Date: Sat, 08 Feb 2014 12:10:39 +0200

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 <ndw@n...> wrote:

Michael Kay <mike@s...> 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: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member