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

RE: Identifier attribute (was: Re: Creating Hie

Subject: RE: Identifier attribute (was: Re: Creating Hierarchy)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 17:33:58 +0100
RE:  Identifier attribute (was: Re:  Creating  Hie
> In all of the XML vocabularies I've designed for clients, 
> standards and myself the last few years I've been avoiding:
> 
>    id=
> 
> in favour of:
> 
>    xml:id=
> 
> ref: http://www.w3.org/TR/2005/REC-xml-id-20050909/
> 
> because of the implied semantics.
> 
> I haven't run into any hiccoughs in any way by doing so ... 
> has anyone run into roadblocks or unintended consequences 
> doing the same?

I agree that's probably best practice nowadays. I don't think you can assume
that every combination of XML parser / XSLT processor will make xml:id
values accessible to the id() function, but then that's true for
DTD-declared ID attributes as well.

Michael Kay
http://www.saxonica.com/

Current Thread

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
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.