OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Re: determining ID-ness in XML



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