Hi,

I found the solution. I modified the

<xsl:template
match="d:set|d:book|d:part|d:reference|d:preface|d:chapter|d:appendix|d:article
    |d:glossary|d:bibliography|d:index|d:setindex|d:refentry
    |d:sect1|d:sect2|d:sect3|d:sect4|d:sect5|d:section" mode="fop1.outline">

template in fop1.xsl. It was enough to comment
out everything except <xsl:apply-templates select="*" mode="fop1.outline"/>
inside the 'otherwise' part of the condition.

Robert

On Tue, Apr 10, 2012 at 2:17 PM, robert <[email protected]> wrote:

> Hi,
>
> I have a book with the following structure:
>
> <book xml:id="b1">
>   <article xml:id="a1"/>
>   <article xml:id="a2"/>
> </book>
>
> I use fop1 extension to generate bookmarks. The xsl-fo transforms generate
> something like this:
>
> <fo:bookmark-tree>
>   <fo:bookmark internal-destination="b1"/>
>   <fo:bookmark internal-destination="a1"/>
>   <fo:bookmark internal-destination="a2"/>
> </fo:bookmark-tree>
>
> Now, I would like the list to contain only articles, i.e.
>
> <fo:bookmark-tree>
>   <fo:bookmark internal-destination="a1"/>
>   <fo:bookmark internal-destination="a2"/>
> </fo:bookmark-tree>
>
> How can I block the mechanism for book elements?
>
> Thanks,
> Robert
>

Reply via email to