[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Re: determining ID-ness in XML
- From: John Cowan <cowan@mercury.ccil.org>
- To: James Clark <jjc@jclark.com>
- Date: Mon, 29 Oct 2001 21:39:27 -0500 (EST)
James Clark scripsit:
> An alternative would be to have an attribute that declares the name of the
> attribute that is an ID attribute, say xml:idatt. To make this useable,
> xml:idatt would be inherited. In the typical case where all elements use
> the same attribute name for an ID, this means that a user has only to add
> something like xml:idatt="id" or xml:idatt="rdf:ID" to their root element
> and everything works. You would also need to allow xml:idatt="" to disable
> inheritance.
An excellent idea, as always!
--
John Cowan http://www.ccil.org/~cowan cowan@ccil.org
Please leave your values | Check your assumptions. In fact,
at the front desk. | check your assumptions at the door.
--sign in Paris hotel | --Miles Vorkosigan