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

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

Subject: Wrap and XSL in XSL-FO (server side PDF creation)
From: "Mark Anderson" <mark.anderson@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Jul 2007 19:33:49 +0100
 Wrap and XSL in XSL-FO (server side PDF creation)
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.