W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2003

Re: FOP + Batik interaction

From: Oleg Tkachenko <olegt@multiconn.com>
Date: Mon, 27 Jan 2003 13:26:10 +0200
Message-ID: <3E351752.5070107@multiconn.com>
To: Stefan.Gaertners@trinkaus.de
CC: batik-users@xml.apache.org, www-xsl-fo@w3.org

Stefan.Gaertners@trinkaus.de wrote:

> I think i've a problem with the interaction between FOP and Batik.
> 
> My problem is:
> 
> In a Headline of a page in want to draw a rectangle and a line together
> with the pagenumber. The pagenumber should appear in the middle/above the
> rectangle.  But when i try to draw the pagenumber using <fo: page-number />
> inside an SVG-section i didn't see the number.  What's going wrong in my
> code that i've attached.

You cannot embed formatting objects into fo:instream-foreign-object content. 
According to the spec [1] content of fo:instream-foreign-object is considered 
to be non-XSL. You can try to achieve the result by using xsl-fo only (use 
borders to draw a rectangle etc) or try to interleave svg image and 
fo:page-number using absolute positioning.

[1] http://www.w3.org/TR/xsl/slice6.html#fo_instream-foreign-object
-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Received on Monday, 27 January 2003 06:24:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT