473,753 Members | 7,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SAVE XML file to PPC device (client) using javascript

3 New Member
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.DOMDocum ent");
newElement = foodXML.createE lement(textstr) ;
foodXML.appendC hild(newElement );
foodXML.save("t est.xml");

Please help me to save xml file to local folder using javascript.
Thanks
Jaikant
Jan 8 '08 #1
3 2206
jkmyoung
2,057 Recognized Expert Top Contributor
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
jaikant
3 New Member
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 Recognized Expert Top Contributor
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.DOMDocum ent");
newElement = foodXML.createE lement(textstr) ;
foodXML.appendC hild(newElement );
foodXML.save("t est.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
2679
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 afterwards, you are prompted to do a 'Save-As' for a file to download. How do they do that without the classic "Headers already sent" error?
7
2167
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 so far using javascript the only thing that i can not do is save the changes this is easy in vb.net and c# but seeing as i have to work with the server its a whole new world. I dont want to have to use asp or anything that requiers expensive...
2
2414
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 pdf-file (in this pdf-file is the image, too) without open the pdf-file. It should only open the "save as"-window or the "print"-window when I push a button. It'll be nice if somebody can help me.
5
7408
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 or save output?
4
5559
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. When the user clicks to start the download I would like to display the "Save As" dialog, allow the user to name a place to save the file, and then show the download progress bar while the file downloads Question: How do I make a windows "Save...
4
3718
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 file via some editable controls such as text boxes , option boxes etc. how can i implment this , should i use another xslt file with <INPUT> controls . if so how can i save the result back using the asp.net
1
7775
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 Image Path. When I press the OK Button of the Save as Dialog ..... I have to get the File name selected and set it as TextBox Text ... How to do this by Java Script.And I need to give selected image path into a Image control. I have tried...
12
4773
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 on the client's computer? He/she could do this using the browser (file/save), but I need to have it done by pressing the pushbutton. In my serverside code I get the button-click-event, I also know how to get
3
4356
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 now the way I have this set up, but it's confusing and slow. When they browse for a place to save the reports, they see all of the drives on the terminal server as well as their own client drives. So they're likely to want to choose "My...
0
8896
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9653
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9451
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8328
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6869
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6151
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3395
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2872
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.