473,383 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

SAVE XML file to PPC device (client) using javascript

Hi,
I am loading a xml file using javascript in Pocket Internet Explorer for local HTML file. I am not able to save the xml file back to the PPC device.

foodXML = new ActiveXObject("Msxml2.DOMDocument");
newElement = foodXML.createElement(textstr);
foodXML.appendChild(newElement);
foodXML.save("test.xml");

Please help me to save xml file to local folder using javascript.
Thanks
Jaikant
Jan 8 '08 #1
3 2187
jkmyoung
2,057 Expert 2GB
Generally javascript does not allow you to save files, due to security reasons. Is it possible for you to use something else?
Jan 8 '08 #2
Generally javascript does not allow you to save files, due to security reasons. Is it possible for you to use something else?
Pls suggest some alternate to achieve the same.
Jan 8 '08 #3
Dököll
2,364 Expert 2GB
Hi,
I am loading a xml file using javascript in Pocket Internet Explorer for local HTML file. I am not able to save the xml file back to the PPC device.

foodXML = new ActiveXObject("Msxml2.DOMDocument");
newElement = foodXML.createElement(textstr);
foodXML.appendChild(newElement);
foodXML.save("test.xml");

Please help me to save xml file to local folder using javascript.
Thanks
Jaikant
Hello, jaikant!

Are you able to save data on your pocket pc otherwise?

This may not be what you want, just mentioning it. If you use ASP.NET with SQL Server 2005, you will be able to load data to your pocket pc, provided of course, the pc is allowed to load ASP.NET driven websites and is capable to load SQL Server 2005 Express.

Not sure how it can be handled otherwise, just adding this just in case. And if you are interested, go on Microsoft's site, type in SQL Express 2005 video, there's a 65 minute video that'll guide you through a simple web site connection to SQL Server, it's stupendous, hope this is what you need, or that it can work on your pocket pc.

Good luck nonetheless, jaikant, hope it turns out alright:-)
Jan 9 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: edykstra | last post by:
Hello, If you point your browser to this page, http://prdownloads.sourceforge.net/vnc-tight/tightvnc-1.2.9_x86_viewer.zip?use_mirror=umn the server sends you the HTML page, and very soon...
7
by: WStoreyII | last post by:
how can i save xml. if i have an xml file on a server, lets say a dvd collection. and i have a form that gets information for a new dvd and i append this dvd to the dom. This i can do no problem...
2
by: Kitkat | last post by:
Hi, i hope my english is good enough to explain my problem. Okay, I have a html-file with a image. But i don't want to save or print the html-file with the image. I want to save or print a...
5
by: Poster | last post by:
I have a script, its outputs are in HTML. It displays perferctly in a browser, however when I view source, it gives me the JS scripts, but I want to view the HTML output. Is there a way I can view...
4
by: Richard | last post by:
Hi I'm new to ASP/Web programming so any help would be appreciated... Situation: On my web page I would like to present a link {or button} that would allow the user to download a large file. ...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
1
by: conckrish | last post by:
Dear All, This is all about ASP.NET WEB APPLICATION. I have a Button and when i click that button,I need to open the File Dialog( Genearl Save AS Dialog) through Which i have to select the...
12
by: =?Utf-8?B?RnJlZU5FYXN5?= | last post by:
Hello, the scenario: There's an ASPX page which shows some text and has three buttons at the bottom: Save, Print and Close. Print and close is done by javascript. But how can I save the page...
3
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.