This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Conventions for IDs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]