Now the problem i face is while trying to save the output xml file i get error Permission Denied , error code 0 . This happens when i try to open the page in browser IE 6.0 SP2
I am using DOM parser methods for doing the xml manipulations/savings etc.
Surprisingly this works in another machine. Could i get some pointers ..as to wat i should do to get rid of the Permission denied problem.
//x=xmlDoc.documentElement; var str1_prod=document.getElementById('D1').value; var str2_test=document.getElementById('D2').value; var str3_suit=document.getElementById('T3').value; var str4_mac=document.getElementById('D3').value; var str5_script=document.getElementById('T5').value; var str6_path=document.getElementById('T4').value; var str7_dir=document.getElementById('T2').value; var str8_pmac=document.getElementById('D7').value;
If you intend serving this application to the general public, then some users, maybe the majority, will be unable to save the output automatically.
Applications like this are reall only viable in an INTRAnet environemnt where you have full knowledge and/or control of each and every client computer's configuration.
An alternative and more reliable approach would be to build your output server-side, in eg PHP, and to serve it back to the user via HTTP with an appropriate "mime-type" in the header, such that users can "save as" to his/her own HD. In other words, a dynamically generated download. That would be my first choice.