This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Uniq values of "ID" attributes
- From: Karl Eichwalder <keichwa at gmx dot net>
- To: Vitaly Ostanin <vyt at vzljot dot ru>
- Cc: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>,docbook-apps at lists dot oasis-open dot org
- Date: Tue, 24 Sep 2002 15:31:16 +0200
- Subject: DOCBOOK-APPS: Re: Uniq values of "ID" attributes
- References: <5.1.1.6.2.20020728154131.01f7a828@pop.freeserve.net><5.1.1.6.2.20020728184508.020375b8@pop.freeserve.net><5.1.1.6.2.20020729175010.01f8e1c0@pop.freeserve.net><3D477B39.6010901@vzljot.ru>
[I'm escaping to the apps list]
Vitaly Ostanin <vyt@vzljot.ru> writes:
>>>Yes, but for separated documents we must to use:
>>>id="full.path.with.sub.parts.of.set.document-name.pgs.ex.1"
>>>for it be unique.
>> Not if you make the id's relate to the document subject?
>> id values do not need the document path.
>
> For example, we may have chapters "network" in "user" and "admin" parts.
Delay the issue until combining the docs.
Then prefix every ID in "user" with "u." and in "admin" with "a.",
say. This could be done using Architectural Forms processing or using
sed/awk.
> You right, olink is the best way.
Probably. Or just add a dummy chapter with all missing IDs to the
respective document (cf. David Megginson's book on XML).
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)