Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - XSLT-FO to PDF

 
Thread Tools Search this Thread
Old 05-23-2006, 03:49 PM   #1
Default XSLT-FO to PDF


Hi!

I need to convert a XML-file to PDF where each page have a border
surrounding the text . In a DTP program you would have created this
border in the master pages.

Morten



Morten
  Reply With Quote
Old 05-23-2006, 10:44 PM   #2
Joe Kesselman
 
Posts: n/a
Default Re: XSLT-FO to PDF

Morten wrote:
> I need to convert a XML-file to PDF where each page have a border
> surrounding the text . In a DTP program you would have created this
> border in the master pages.


I can point you to an _example_ of XSL-FO page definition with borders:

http://www.dpawson.co.uk/xsl/sect3/fobasic.html

.... does that help, or do you need the full path from raw XML to PDF? (I
haven't worked with XSL-FO much, so if you need more info someone else
will probably have to provide it. My focus has been on the stylesheets.)
  Reply With Quote
Old 05-24-2006, 12:25 PM   #3
Morten
 
Posts: n/a
Default Re: XSLT-FO to PDF

Thanks Joe.

I found out that the best way to include the border I want is to use
<fo:region-body background-image="image.jpg"/>

Morten



On 2006-05-23 23:44:01 +0200, Joe Kesselman <keshlam-> said:

> Morten wrote:
>> I need to convert a XML-file to PDF where each page have a border
>> surrounding the text . In a DTP program you would have created this
>> border in the master pages.

>
> I can point you to an _example_ of XSL-FO page definition with borders:
>
> http://www.dpawson.co.uk/xsl/sect3/fobasic.html
>
> ... does that help, or do you need the full path from raw XML to PDF?
> (I haven't worked with XSL-FO much, so if you need more info someone
> else will probably have to provide it. My focus has been on the
> stylesheets.)



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump