Re: Need help:converting xml = fo = pdf

2002-12-02 Thread Noel Golding
can use xml + xsl = xsl:fo

then xsl:fo + fop = pdf

- Original Message - 
From: ANIL B G [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 02, 2002 1:56 PM
Subject: Need help:converting xml = fo = pdf


 Hello,
 
 What is the simplest way of converting file.xml = file.fo = file.pdf
 
 Second part is straight forward, I just need to feed file.fo to FOP to 
 generate file.pdf
 
 Is there any simple way to convert file.xml to file.fo ??
 Is there any tool that does this job or do I need to write my own Java 
 parser for converting file.xml to file.fo
 
 Please advise me.
 
 Regards,
 Anil
 
 
 
 
 
 
 _
 Protect your PC - get McAfee.com VirusScan Online 
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Need help:converting xml = fo = pdf

2002-12-02 Thread Morten Isaksen
 -Original Message-
 From: ANIL B G [mailto:[EMAIL PROTECTED]
 Sent: 2. december 2002 19:56
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Need help:converting xml = fo = pdf

 What is the simplest way of converting file.xml = file.fo = file.pdf
 
 Second part is straight forward, I just need to feed file.fo to FOP to
 generate file.pdf
 
 Is there any simple way to convert file.xml to file.fo ??
 Is there any tool that does this job or do I need to write my own Java
 parser for converting file.xml to file.fo

Use XSL Transformation to transform your xml file to xsl-fo and run FOP
with this command:

fop.bat -xsl stylesheet.xsl -xml data.xml -pdf output.pdf

Check http://www.w3.org/TR/xslt and
http://www.xml.com/pub/a/2000/08/holman/index.html 


--
Morten Isaksen
[EMAIL PROTECTED] - http://www.aub.dk/~misak



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Need help:converting xml = fo = pdf

2002-12-02 Thread Alex McLintock
At 18:56 02/12/02, ANIL B G wrote:
Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo
Hello Anil,
There is no automatic way of converting some XML to FO because no computer 
program can magically come up with the way that *you* want it printed out.
You have to give it some help as to how to display the XML.

Remember that file.fo is in XML format too. You don't have to write any 
Java to convert one XML format to another XML format if you don't want to. 
You can use a technology called XSLT. (Or XSL depending on how picky you 
want to be).

This basically has (XML) scripts which say when you see this sort of XML 
tag, output that sort of XML.

So for the most part you would take your XML as input, and output the 
equivalant XSL:FO type output.

Since FOP already uses an XSLT engine (Xalan by default) you can just tell 
it take this XML file as input, and use this XSLT file to transform it, 
and output PDF, but you can output the .fo file too if you want.

If possible when asking this sort of question please say what documentation 
you have already read, because this sort of information should be in there 
already.

Thanks and goodluck
Alex


Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Need help:converting xml = fo = pdf

2002-12-02 Thread Calero, Roberto
Title: RE: Need help:converting xml = fo = pdf





how about xml+xslt=fo ?


-Original Message-
From: ANIL B G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 3 December 2002 5:56 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Need help:converting xml = fo = pdf



Hello,


What is the simplest way of converting file.xml = file.fo = file.pdf


Second part is straight forward, I just need to feed file.fo to FOP to 
generate file.pdf


Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo


Please advise me.


Regards,
Anil







_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]