OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: DOCBOOK: Re: Conventions for IDs


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

/ BigSmoke <bigsmoke@home.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@nwalsh.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-----




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]