Subject: Re: [xsl] Identifier attribute (was: Re: [xsl] Creating Hierarchy) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 17 Oct 2008 13:06:20 -0400 |
Of course, the OP hasn't actually said his attributes named "id" need to validate as type ID. (Not that this isn't good advice in general, in case one ever wanted to do that.)
Sure, but I was assuming since he said "ID attribute" and not "identifier attribute" that he was citing ID-ness for the value.
But this brings up another issue we might have brought to the attention of the OP: the name of the attribute.
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?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Identifier attribute (was, Michael Kay | Thread | [xsl] WordML to XML Header Problem, Byomokesh Sahoo |
Re: [xsl] want to add node number t, Fred Christian | Date | Re: [xsl] How to query nodes whichs, rsoese |
Month |