[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Wrap and XSL in XSL-FO (server side PDF creation)

Subject: Re: Wrap and XSL in XSL-FO (server side PDF creation)
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Thu, 5 Jul 2007 20:53:37 +0200
Re:  Wrap and XSL in XSL-FO (server side PDF creation)
several things:

1. the xsl-fo you demonstrated won't work because I assume the
existing xsl you will be wrapping with FO is actually the html output
from you xslt.

2. You might want to just look at various PDF creation tools that will
run in ASP, look at http://www.planetpdf.com/ for tools and stuff
(this is the programmer solution)

3. use something like prince http://www.princexml.com/

4. The worst solution unless you need really good printing solutions:
learn XSL-FO.

Cheers,
Bryan Rasmussen

On 7/5/07, Mark Anderson <mark.anderson@xxxxxxxxxxxxxxxxxxx> wrote:
Hi All

We have an application that transforms XML to HTML using XSL (1.0). It
is an ASP app and we use .NET and VB a lot

We need to convert that HTML to PDF (on demand from client). The style
sheets we use are very complex and it looks like it would be a
considerable amount of work to redo them (there are dozens) with FO.

I read a few articles and tutorials on FO and there doesn't seem to be
an easy way to wrap the existing output in FO.

For example:

<?xml version="1.0" encoding="ISO-8859-1"?><fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
  <fo:simple-page-master master-name="Letter">
    <fo:region-body />
  </fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="Letter">
  <fo:flow flow-name="xsl-region-body">
    <!-- Insert existing XSL here -->
  </fo:flow>
</fo:page-sequence></fo:root>

The ONLY reasons to look at FO are:

- Server-side PDF creation
- Better control of page sizes and basic layout (margins, headers,
footers). Everything would be a single flow.

Maybe there's another tool out there.

TIA

Mark

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.