This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Using profile.xsl to filter conditionalized documents
- From: Bob Stayton <bobs at caldera dot com>
- To: "Bradford, Denis" <denisb at rational dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Wed, 05 Dec 2001 12:50:39 -0800
- Subject: Re: DOCBOOK-APPS: Using profile.xsl to filter conditionalized documents
- References: <3906C56A7BD1F54593344C05BD1374B10286E448@SUS-MA1IT01>
On Wed, Dec 05, 2001 at 03:35:07PM -0500, Bradford, Denis wrote:
> I'm having trouble figuring out how to implement profile.xsl. Can anyone
> tell what I'm doing wrong?
>
> The first problem is that it's not preserving the structure of my book. My
> book is chunked: it calls a bunch of file entity fragments (chapters). When
> I run profile.xsl on the book, it generates the whole book in one file.
> However, I don't see way to to control chunking in profile.xsl, since it
> doesn't seem to use the normal docbook.xsl parameters & templates.
It is a two-step process.
You use profile.xsl to generate an intermediate file
that has been 'profiled', that is, that meets your
conditional text specs. Then you run the normal docbook
stylesheet on that intermediate file. To chunk, you would
just apply chunk.xsl to the output file from profile.xsl.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com