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

Re: FOP - what, where, when, how?

Subject: Re: FOP - what, where, when, how?
From: "David B. Bitton" <david@xxxxxxxxxxxxxx>
Date: Fri, 22 Mar 2002 10:05:23 -0500
fop win32
Checkout http://xml.apache.org/fop/ and also I suggest subsrcibing to the fop-user mailing list.

On Fri, Mar 22, 2002 at 01:57:48PM -0000, Alastair Growcott wrote:
> I'm looking at converting XML documents via XSL to PDF. I have looked in
> the archives, etc. and I see a lot of references to something called FOP
> by James Tauber. I even saw an article by someone which gave an example
> of using it (which admittedly was not working), that looked similar to
> what I am doing.
> 
> Firstly, the namespace reference I saw mentioned;
> 
> 	http://www.w3.org/TR/WD-xsl/FO
> 
> seems to be a broken link. Secondly, I don't have Java on my machine. XT
> comes as a nice Win32 executable. Does FOP?
> 
> Even while writing this post I have found out that FO is part of XSL,
> but still lack much information that I will be studying up on. I am also
> unsure about the nature of PDF and licensing issues, and what the
> difference is between the FOP output and the stuff that Adobe's Acrobat
> writer program produces.
> 
> I currently am successfully converting the XML to HTML via XSL such that
> when I double click on the XML file, IE6 automatically runs and displays
> the XML as HTML. Can I do this when converting into PDF? I.e. if I
> double click on the XML it will automatically be displayed by Adobe
> Acrobat reader?
> 
> Here is a sample of how I am doing my HTML conversion. Is it possible
> someone could edit it to work with FOP, and post it back?
> 
> sample.xml
> ----------
> 
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="sample.xsl"?>
> <mydoc>
> <question>Are you there?</question>
> <answer>Maybe!</answer>
> </mydoc>
> 
> sample.xsl
> ----------
> 
> <?xml version="1.0"?>
> <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> 	xsl:version="1.0">
> <head><title>Question and answer session</title></head>
> 
> <body>
> <b>Question: </b><xsl:value-of select="/mydoc/question"/><br/>
> <b>Answer: </b><i><xsl:value-of select="/mydoc/question"/></i><br/>
> </body></html>
> 
> Many thanks for any assistance.
> 
> Alastair.
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 

David B. Bitton
david@xxxxxxxxxxxxxx

Diversa ab illis virtute valemus.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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-2013 All Rights Reserved.