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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw at nwalsh dot com>      | Next to knowing when to seize an
http://www.oasis-open.org/docbook/ | opportunity, the most important
Chair, DocBook Technical Committee | thing in life is to know when to
                                   | forego an advantage.--Benjamin
                                   | Disraeli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+dba5OyltUcwYWjsRApE+AJ0bsMdBhYOnlPnYtGmfK6PfmNKFbQCgkBHj
xgFVVhBMUuHf1oxzPXMKcOI=
=JZOz
-----END PGP SIGNATURE-----


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