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(_at_)amesondemand(_dot_)com]
Sent: 16 February 2005 22:10
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--