Please read the docs on the File object - there is a "write" method and ways to set a file as writeable. All in the docs.
Jonathan Marsh - <http://www.wso2.com> http://www.wso2.com - <http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajay Kamathbolasrinivas Sent: Monday, March 17, 2008 6:04 AM To: [email protected]; [EMAIL PROTECTED] Subject: [Mashup-user] help Hi, I have a function to merge the contents of 2 XML files A and B Now I want to write the merged contents of 2 files to another xml file. Please help function toString() { var aFile = new File("A.xml"); var a = new XML(aFile.readAll()); var bFile = new File("B.xml"); var b = new XML(bFile.readAll()); a.appendChild(b.author); a.appendChild(b.title); a.appendChild(b.content); return a; } With Best Regards, Ajay Kamath B S | Programmer Analyst| MindTree Consulting Ltd. |Global Village, RVCE Post, Bangalore-560059 INDIA|Mobile:9886789974|email:[EMAIL PROTECTED] | <http://www.mindtree.com/> www.mindtree.com DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.
_______________________________________________ Mashup-user mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-user
