This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Profiling with preserved numbering
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Pool 475-1 FRD TE-N" <Pool475-1 dot FRDTE-N at zf dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 13 Aug 2004 09:15:37 -0700
- Subject: Re: [docbook-apps] Profiling with preserved numbering
- References: <39F72536E7DFFB48B9C75CE4692DF398055E5990@frds00032.emea.zf-world.com>
The only solution I can think of is to run a preprocessing stylesheet to
insert label attributes on all elements that take them, and then run the
profiling stylesheet. The labeling stylesheet would be an identity
transform, except that for certain elements it would use xsl:number to get
the current node's number to add to a new label attribute on the element.
The labels will override the automatic numbering when the profiled document
is processed.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Pool 475-1 FRD TE-N" <Pool475-1.FRDTE-N@zf.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, August 12, 2004 6:53 AM
Subject: [docbook-apps] Profiling with preserved numbering
> Hello *,
>
> just to make my former post "Setting chapter numbers, ..." a little bit
> clearer (I hope).
>
> I'm interested if there is a mechanism pretty much like profiling, but
with
> the additional feature of preserving the numbering of titles, section,
> figures, tables and so on.
>
> If there isn't such a mechanism, can you suggest an alternative solution?
>
> Regards,
> Bjoern
>
>