Subject: Re: O/P redirection to file
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Tue, 1 Jun 2004 07:42:53 -0700 (PDT)
|
Hi Vikram,
This looks like a Xalan question. Please look at the
Java namespace facilities provided by Xalan
-http://xml.apache.org/xalan-j/extensions.html#ex-java-namespace
.
I am sure the problem can be solved.
Regards,
Mukul
--- Vikram Barate <vikram@xxxxxxxxxx> wrote:
> Hello,
>
> I'm redirecting my xsl o/p to a text file using
> 'redirect:open' and
> 'redirect:write'. Default behaviour of these calls
> overwrite existing
> file. There are also options to append data to
> files. But I want to
> creat o/p file in case it does not exist, if file
> exists then i dont
> want to overwrite or modify it.
>
> Is there any way to identify whether a text file
> exists, or create only
> if it does not exist?
>
> Thanx & Regards,
> Vikram.
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
|