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

Re: Using XSL for creating DOS batch files

Subject: Re: Using XSL for creating DOS batch files
From: JBryant@xxxxxxxxx
Date: Mon, 11 Oct 2004 09:57:21 -0500
creating a batch file
Oh, by the way, with FOP, you can make these commands simpler. FOP assumes 
that the first argument is an FO file and the second is a PDF output 
target file. So, the following commands do the same thing:

fop -fo somefile.fo -pdf somefile.pdf
fop somefile.fo somefile.pdf

In a batch file, use:

call fop somefile.fo somefile.pdf

In other words, you only need the -fo, -pdf, and other  switches if you do 
something else.

While the Windows batch utility has nowhere near the capability of a real 
scripting languge, you can get a lot done with it. I use elaborate batch 
files to do a bunch of error checking, call other scripts to prepare 
values for use in parameters, call Saxon to create the FO files, and then 
call FOP to create PDF files.

Jay Bryant
Bryant Communication Services

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.