OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Assemblies in DocBook 5.1: generating multiple structure outputs using assemble.xml


Hi Graeme,
Certainly it is possible to chunk out multiple documents from multiple structures in an assembly, but it is not yet implemented as a feature in assemble.xsl. I'll add it to the list for a future release.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: <graeme@heliocentrik.net>
Sent: Wednesday, May 22, 2013 7:23 AM
To: <docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] Assemblies in DocBook 5.1: generating multiple structure outputs using assemble.xml

Hi Thomas,
Thanks for your help - that works as you suggest.

I'd still like to know if it's possible to produce assembled DocBook
versions of _all_ the structures in my assembly, just by invoking the
XSL file. Is that feasible?

I was under the impression that XSL processors could create multiple
files where necessary (like topic-maker-chunk.xsl is supposed to).
Ideally, I'd like it to create the assembled DocBook files named after
their structure IDs.

Graeme

On Wed, May 22, 2013, at 15:13, Thomas Schraitle wrote:
Hi Graeme,

On Wed, 22 May 2013 14:45:44 +0100
graeme@heliocentrik.net wrote:

> [...]
> When I run assemble.xml (version v 1.10 2012-04-10 07:56:58 from the
> latest stylesheets), I'm invoking it like this:
>
> xsltproc ~/docbook-xsl/assembly/assemble.xsl assembly-file.xml
>
> In the output, I get the <article> element for 'article1', but 'book1'
> and 'book2' are ignored.

Have you tried the parameter structure.id? The assemble.xsl stylesheet
contains the following comment:

  May be used to select one structure among several to  process

Perhaps you should try the structure.id parameter like this:

 xsltproc --stringparam structure.id  book1 \
   ~/docbook-xsl/assembly/assemble.xsl assembly-file.xml


Hope that helps.

--
Gruß/Regards,
    Thomas Schraitle

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]