[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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 bobs@sagehill.net ----- Original Message ----- From: "Samuel Wright" <lykoszine@gmail.com> To: <docbook@lists.oasis-open.org> 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: docbook-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]