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

RE: XSLT File I/O?

Subject: RE: XSLT File I/O?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Feb 2005 23:19:11 -0000
xslt file
You'll need to call out to Java to do this. Shouldn't be difficult, and with
luck you don't even need to write any custom Java code, you can just call
out to the standard Java library.

Details depend on the XSLT processor that you're using.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Hiral Parikh [mailto:hparikh@xxxxxxxxxxxxxxxx] 
> Sent: 16 February 2005 22:10
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XSLT File I/O?
> 
> Hi,
> I am doing a bunch of XSL transformations from an XML file 
> using Cocoon and
> finally generate a FO file. 
> 
> I have the following requirement to carry out in my XSL 
> transformations:
> 1. Get the fileurl for images in the XML (e.g. /images/A.jpg)
> 2. Check for the file on a physical location
> 3. If the file exist then ok, otherwise change the file url
> (/images/A_temp.jpg).
> 
> I have not used File I/O using XSL and am not even sure if 
> that's possible. 
> Can someone please throw some light on this ? 
> Is it possible to fulfill the above requirement using XSL? 
> Are there any
> other ways to do this using Cocoon?
> 
> Thanks in advance,
> Hiral

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.