Write to XML file using Javascript

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mobone
Forum Newbie
Posts: 8
Joined: Mon May 18, 2009 8:04 pm

Write to XML file using Javascript

Post by mobone »

How would I edit my xml file using javascript? Would I use the fopen commands? How would I go in and edit certain elements for example find <cherry>red</cherry> and make the red be blue?
I've been looking for a while now and cannot find much. Thanks for your help.
mobone
Forum Newbie
Posts: 8
Joined: Mon May 18, 2009 8:04 pm

Re: Write to XML file using Javascript

Post by mobone »

Is having ajax interact with my php code that writes to the xml the only way I can do it?
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Write to XML file using Javascript

Post by JAB Creations »

Unless you have a special plugin for a browser JavaScript has absolutely no file system rights. Consider the fact that ActiveX is the primary reason spam exists to the extent it does today.
Post Reply