This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Conventions for IDs
- From: Norman Walsh <ndw at nwalsh dot com>
- To: BigSmoke <bigsmoke at home dot nl>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 17 Mar 2003 06:51:21 -0500
- Subject: DOCBOOK: Re: Conventions for IDs
- References: <200303171221.51403.bigsmoke@home.nl>
-----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-----