[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT File I/O?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|