[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: "no one uses xml:id any more"

  • From: Michael Sokolov <msokolov@safaribooksonline.com>
  • To: Michael Kay <mike@saxonica.com>
  • Date: Tue, 04 Feb 2014 19:18:56 -0500

Re:  "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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.