XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] "no one uses xml:id any more"

On 2/4/2014 1:00 PM, Michael Kay wrote:
On 4 Feb 2014, at 17:21, Michael Sokolov <msokolov@safaribooksonline.com> wrote:

However, I think it's likely that no one who isn't already using xml:id today is likely to start using it tomorrow.

Why? I find it very useful, and have applications where I've stopped using DTD-defined ID attributes and use xml:id instead. It means that id() in a stylesheet works whether or not you do DTD validation, which is much more robust.

OK, perhaps that was a flip remark - it sounded good to me when I first wrote it! I was thinking more about discoverability than about usefulness, although now that I think of it is only a little less likely that someone would discover xml:id today than it was a few years ago.

I guess I also still bear scars from my previous encounter with it (see http://markmail.org/thread/vabspbbgsylrgr6e) when I was trying to get it to work with xpointer and stumbled over less-than-ideal support from the parser (I ended up needing to define xml:id in a DTD).

-Mike


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS