This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] add 'id' afterwards automatically
- From: Janning Vygen <vygen at gmx dot de>
- To: David Tolpin <dvd at davidashen dot net>, Janning Vygen <vygen at gmx dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 14 Oct 2003 15:38:28 +0200
- Subject: Re: [docbook-apps] add 'id' afterwards automatically
- Organization: Planwerk 6 /websolutions
- References: <200310141255.h9ECttqq084043@adat.davidashen.net>
Am Dienstag, 14. Oktober 2003 14:55 schrieb David Tolpin:
> > IMHO generate-id(node-set) will generate a unique id for each
> > given node-set. It always use the context node if no node-set is
> > given. so there is no need to run it recursivly.
>
> generate-id() is not guarantied to generate an identifier unique
> for the document. It is only guarantied to produce a different
> string for each node. If another node already has the same id as
> one just generated, there will be duplicate identifiers in the
> result.
ah. now i know what you mean. sorry for correcting you.
you are right. But in most cases my stylesheet will work. But that's
not enough, of course :-(
kind regards,
janning
-----------------------
PLANWERK 6
websolutions
Herzogstraße 85
40215 Düsseldorf
fon 0211 - 601 59 19
fax 0211 - 601 59 17
vygen@planwerk6.de
http://www.planwerk6.de
-----------------------
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.