|
From: | Per Bothner |
Subject: | Re: [Qexo-general] Qexo functions to handle files ? |
Date: | Fri, 28 Nov 2003 08:44:57 -0800 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007 |
Jun Yu wrote:
Is there some functions that can create new file and write to file ? Just like fopen(),fwrite() in PHP.
Yes, more-or-less. 'write-to' writes an entire file at once. For an example, see: http://www.gnu.org/software/qexo/XQ-Gen-XML.html You can also call Java methods that open and use Writer objects, but since XQuery doesn't guarantee execution order of expressions that is not going to be reliable. -- --Per Bothner address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |