This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Conventions for IDs
- From: BigSmoke <bigsmoke at home dot nl>
- To: Norman Walsh <ndw at nwalsh dot com>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 17 Mar 2003 14:33:21 +0100
- Subject: DOCBOOK: Re: Conventions for IDs
- Organization: BigSmoke
- References: <200303171221.51403.bigsmoke@home.nl> <877kaymcsm.fsf@nwalsh.com>
On Monday 17 March 2003 12:51, Norman Walsh wrote:
> / BigSmoke <bigsmoke at home dot nl> was heard to say:
> | Is there some sort of convention as how to name the IDs in a DocBook
> | document, or an XML document in general. I've used IDs like
> | 'section-Some_title', but when I look around, I see more IDs like
> | 'section.some.title'? Is there some kind of underlying philosophy behind
> | the naming in, for example, the TDG or the DocBook XSL stylesheets?
>
> Nope. They have to be unique, that's all. I tend, personally, to use
> strings that I'm likely to remember while I'm working on a document so
> that I don't have to go lookup the ID when I want to xref to it.
Thanks!
Sincerely,
- Rowan
--
Don't fear fear.