Next in thread → Next in month →

Re: [docbook] "topic" reuse with profiles

From
Bob Stayton <>
Date
2007-02-18T03:05:00+00:00
ID
0f7b01c75309$97672980$6400a8c0@totoro
Thread
Re: [docbook] "topic" reuse with profiles
I don't know of a way to do that with a single pass, but you could do it in 
two stages.  You could use the profiling/profile.xsl stylesheet three times 
with different profiling parameters set, and save the results into temp 
files.  Then use XInclude to assemble the unified help from the temp files, 
and process it with the non-profiling stylesheet.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Samuel Wright" <>
To: <>
Sent: Tuesday, February 13, 2007 3:51 AM
Subject: [docbook] "topic" reuse with profiles


> Hi All,
>
> I'm looking at single sourcing options with Docbook, and would like to
> know if the following is possible
>
> I am trying to document a few similar products, say A, B and C, published
> individually, and also as part of a greater single document.
>
> As the products are so similar, I can reuse the same article articles for
> each one, with a couple of small changes for certain values.
>
> Product A
>  generic para
>  para with profiling A
>  generic para
>
> Product B
>  generic para
>  para with profiling B
>  generic para
>
> Product B
>  generic para
>  para with profiling C
>  generic para
>
> What I would like to do, and which appears to be hard to do is publish 
> the
> single document,
>
> Unified Help
>  Product A
>    generic para
>    para with profiling A
>    generic para
>  Product B
>    generic para
>    para with profiling B
>    generic para
>  Product B
>    generic para
>    para with profiling C
>    generic para
>
> With effectivly the same article reused 3 times, with the correct profile
> in each time.
>
> Thanks
> S
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →