[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Titlepages under HTML with multiple mediaobjects
Hi Dean,
The titlepage spec mechanism supports a t:predicate attribute on elements
in the titlepage specs. The predicate lets you use xpath syntax to
select graphics. For example:
<t:titlepage-content t:side="recto">
<mediaobject t:predicate="[@role = 'logo']"/> <title t:named-template="division.title" param:node="ancestor-or-self::book[1]" text-align="center" font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" font-family="{$title.fontset}"/> <mediaobject t:predicate="[not(@role) or @role != 'logo']"/> Now just add a role="logo" to the logo mediaobject, and it will appear
before the title. All other mediaobjects will appear after the
title.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]