xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nancy_b <nancy_br...@yahoo.com>
Subject Adding fo:block-container around title and subtitle of the titlepage
Date Thu, 29 May 2008 14:59:44 GMT

Please, please, help me! Nobody answers me on the
docbook forum, and I so need it right now...

I am trying to customize my_titlepage.xsl with the
help of titlepage.templates.xml file which I will
process with fo/titlepage.xsl.
 
What I need to define in this XML file is a
<fo:block-container> around the <title> and
 <subtitle>
elements, like so:
 
<fo:block-container>
 <title>
<subtitle>
</fo:block-container>
 
The problem is that I don't know how to define the
block-container in XML, so that after processing this
XML file with fo/titlepage.xsl, the title and subtitle
will be inside the
<fo:block-container> in the resulting
my_titlepage.xsl.
 
Example from titlepage.templates.xml:
 
<t:titlepage-content t:side="recto"
             text-align="center">
 
  <!-- here I want the fo:block-container to start-->
    <title 
           t:named-template="component.title" 
           param:node="ancestor-or-self::article[1]" 
           font-size="&hsize5;" 
           font-weight="bold"
           keep-with-next="always" />

    <subtitle/>
 <!-- here I want the fo:block-container to end-->

        ...
  </t:titlepage-content>
 
Please, advise!!!
 
Thanks in advance!
Nancy
-- 
View this message in context: http://www.nabble.com/Adding-fo%3Ablock-container-around-title-and-subtitle-of-the-titlepage-tp17536291p17536291.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message