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

Re: execute external batch program

Subject: Re: execute external batch program
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Tue, 27 Feb 2007 15:15:43 +0100
Re:  execute external batch program
Davide Antoni wrote:
there's a way to execute an'external batch from a stylesheets?

XSLT is a Transformation language, it is, in principal, not meant to call other programs. Often, a stylesheet transformation is processed as part of a chain, where on the pre-or post-processing side some program is called to do something with the input (i.e., FO processing, translation, another xslt process). In addition, XSLT is a functional language, with the (in)famous "no side effects" rule, which would be quickly violated by calling into another program.


It would help if you explained your problem, so we can provide you with some possible solutions.

That said, if you *must* call some "external batch" (whatever that is) from your stylesheet, you can always create an extension function, which is simple enough. Consult the manual of your particular processor for how to do this.

-- Abel

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.