XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Andreas EichenbergerSubject: xml->pdf
Author: Andreas Eichenberger
Date: 12 Nov 2001 04:53 AM
I would like to convert xml into pdf. is there a way to do that with stylus?

Postnext
Minollo I.Subject: Re: xml->pdf
Author: Minollo I.
Date: 12 Nov 2001 10:00 AM
Yes, in version 3.1 you can use FOP post-processing to do that; I assume
you are using XSLT to generate FO XML; you can then edit the scenario
settings for your XSLT document and ask to have FOP post-process your FO
document. That will generated a PDF document displayed in the preview window.

Minollo

Postnext
Daniel CookSubject: Re: xml->pdf
Author: Daniel Cook
Date: 28 Nov 2001 10:17 AM
Can Stylus Studio batch process XML and save the output as PDF, or can you save the XSLT so that when IE opens the XML file it opens it as PDF?

Postnext
Minollo I.Subject: Re: xml->pdf
Author: Minollo I.
Date: 28 Nov 2001 10:28 AM
At 10:25 AM 11/28/2001 -0500, you wrote:
>From: "Daniel Cook"
>
>Can Stylus Studio batch process XML and save the output as PDF

This involves XSLT processing and FOP post-processing.
You can do that using the Stylus Studio stylesxlst.exe command line
included in the most recent 3.1 BL69x package, available on
http://www.stylusstudio.com/update

>or can you save the XSLT so that when IE opens the XML file it opens it as
>PDF?

IE can handle XSLT processing of an XML file if the XML file contains the
proper directive (Stylus Studio doesn't automatically include that
directive when saving a document), but I don't think it provides any way to
do FOP post-processing, which is the one that generates a PDF result.

Minollo

Postnext
Daniel CookSubject: Re: xml->pdf
Author: Daniel Cook
Date: 29 Nov 2001 10:00 AM
What are the command line switches to tell Stylusxslt.exe to perform post-processing? Is there any documentation on the usage of Stylusxslt.exe?

Postnext
Minollo I.Subject: Re: xml->pdf
Author: Minollo I.
Date: 29 Nov 2001 10:09 AM

>What are the command line switches to tell Stylusxslt.exe to perform
>post-processing?

>StylusXslt
usage: StylusXslt [-fop] [-print] source stylesheet [result] [param=value]...
-fop: post-process the file generated by the XSLT processor using
Apache FOP
-print: print the generated output file

Please not that this enhanced version of StylusXslt has been introduced
only in BL69a and later builds.

>Is there any documentation on the usage of Stylusxslt.exe?

The only one is the one mentioned above.
A couple of simple examples are:
>stylusxslt -fop Y:\test.xml Y:\fo.xsl y:\result.pdf
....which generates a y:\result.pdf file
>stylusxslt -fop -print Y:\test.xml Y:\fo.xsl y:\result.pdf
....which generates a y:\result.pdf file and prints it to your default printer

Minollo

Posttop
Daniel CookSubject: Re: xml->pdf
Author: Daniel Cook
Date: 29 Nov 2001 04:05 PM
Thank you for all the help. I have used other XML editors in the past, like XML Spy 4.0, but I am really impressed with your product and your support. Thanks again.

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.