[xsl] XSL FO Image alignment problem

Subject: [xsl] XSL FO Image alignment problem
From: Vanaja Selvaraj <s_vanaj@xxxxxxxxx>
Date: Fri, 1 Feb 2008 01:58:52 -0800 (PST)
Hi,

I am working on XSL FO to convert XML to PDF. Can
anyone suggest, How to set the images always at top or
bottom of the pages? 

I am using Apache-fop-0.94.

My XSL is like:
<xsl:template match="fig/graphic">
<fo:block text-align="center">
<fo:external-graphic src="{@src}"
baseline-shift="-2mm">
<xsl:apply-templates/>
</fo:external-graphic>
</fo:block>
</xsl:template>

Thanks in advance.
S. Vanaja



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Current Thread