473,378 Members | 1,426 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,378 software developers and data experts.

Save Xml

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 software and or ides. If it can
be done with jscript this would be great. or does this sort of thing depend
on the server itself?

Thanks for the help please feel free to email me with any thoughts and or
suggestions @ pa**********@sbcglobal.net

WStoreyII
Jul 23 '05 #1
7 2148
On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:
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 software and or ides. If
it can be done with jscript this would be great. or does this sort of
thing depend on the server itself?

Thanks for the help please feel free to email me with any thoughts and or
suggestions @ pa**********@sbcglobal.net

WStoreyII


You do understand that JavaScript runs on the client? If you want the
changes to be permanent, they must be stored on the server. PHP, Perl,
and Java (either as Servlets or JSP) are all free. Check your host to see
which of these technologies they allow.

HTH,
La'ie Techie
Jul 23 '05 #2
Yes,
i do know that it is a client side and that is why i was tyring to figure
out how i do save it the problem is that i dont right now have a server and
would like to figure out how to do it so that i can decide which technology
i am comfortable with and find a server that will use it?

WStoreyII
Thanks again

"La?ie Techie" <laie@win_remove_get_nospam_solutions.com> wrote in message
news:31******************************@news.teranew s.com...
On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:
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 software and or ides. If
it can be done with jscript this would be great. or does this sort of
thing depend on the server itself?

Thanks for the help please feel free to email me with any thoughts and or suggestions @ pa**********@sbcglobal.net

WStoreyII


You do understand that JavaScript runs on the client? If you want the
changes to be permanent, they must be stored on the server. PHP, Perl,
and Java (either as Servlets or JSP) are all free. Check your host to see
which of these technologies they allow.

HTH,
La'ie Techie

Jul 23 '05 #3
=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javascript:
On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:
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 software and or ides. If it can be done with jscript this
would be great. or does this sort of thing depend on the server
itself?

Thanks for the help please feel free to email me with any thoughts
and or suggestions @ pa**********@sbcglobal.net


You do understand that JavaScript runs on the client? If you want the
changes to be permanent, they must be stored on the server. PHP,
Perl, and Java (either as Servlets or JSP) are all free. Check your
host to see which of these technologies they allow.


What about serverside javascript on an ASP platdorm, "free" if it is
includes in your host package.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 23 '05 #4

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javascript:
On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:
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 software and or ides. If it can be done with jscript this
would be great. or does this sort of thing depend on the server
itself?

Thanks for the help please feel free to email me with any thoughts
and or suggestions @ pa**********@sbcglobal.net
You do understand that JavaScript runs on the client? If you want the
changes to be permanent, they must be stored on the server. PHP,
Perl, and Java (either as Servlets or JSP) are all free. Check your
host to see which of these technologies they allow.


What about serverside javascript on an ASP platdorm, "free" if it is
includes in your host package.

i guess it does not really matter how i do it most of the webpage i think
that i can do on my side with the javascript and html the only thing i cant
figure out how to do is to save the xml so how is this done? despite what
media i end up using i still do not know how to do it .
thanks again
WStorey
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 23 '05 #5
"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:4Q*****************@newssvr27.news.prodigy.co m...

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javascript:
On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:

> 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 software and or ides. If it can be done with jscript this
> would be great. or does this sort of thing depend on the server
> itself?
>
> Thanks for the help please feel free to email me with any thoughts
> and or suggestions @ pa**********@sbcglobal.net

You do understand that JavaScript runs on the client? If you want the
changes to be permanent, they must be stored on the server. PHP,
Perl, and Java (either as Servlets or JSP) are all free. Check your
host to see which of these technologies they allow.
What about serverside javascript on an ASP platdorm, "free" if it is
includes in your host package.

i guess it does not really matter how i do it most of the webpage i think
that i can do on my side with the javascript and html the only thing i

cant figure out how to do is to save the xml so how is this done? despite what
media i end up using i still do not know how to do it .
thanks again
WStorey


Put the resulting xml-string in a hidden form field on your page, and post
it
to the server. On the server side you must have a cgi-script that receives
the
xml, and save it. As others have said before; What kind of cgi you use on
the
server side doesn't matter. Python is free, Php is free, Tomcat w/Java is
free...

--
Dag
5826'15.9" N 00846'45.5" E
Jul 23 '05 #6

"Dag Sunde" <ds@orion.no-way> wrote in message
news:cF*****************@juliett.dax.net...
"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:4Q*****************@newssvr27.news.prodigy.co m...

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
=?UTF-8?b?TMSByrtpZSBUZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javascript:
> On Sun, 27 Jun 2004 06:04:11 +0000, WStoreyII wrote:
>
>> 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 software and or ides. If it can be done with jscript this >> would be great. or does this sort of thing depend on the server
>> itself?
>>
>> Thanks for the help please feel free to email me with any thoughts
>> and or suggestions @ pa**********@sbcglobal.net
>
> You do understand that JavaScript runs on the client? If you want the > changes to be permanent, they must be stored on the server. PHP,
> Perl, and Java (either as Servlets or JSP) are all free. Check your
> host to see which of these technologies they allow.

What about serverside javascript on an ASP platdorm, "free" if it is
includes in your host package.
i guess it does not really matter how i do it most of the webpage i think that i can do on my side with the javascript and html the only thing i

cant
figure out how to do is to save the xml so how is this done? despite what media i end up using i still do not know how to do it .
thanks again
WStorey


Put the resulting xml-string in a hidden form field on your page, and post
it
to the server. On the server side you must have a cgi-script that receives
the
xml, and save it. As others have said before; What kind of cgi you use on
the
server side doesn't matter. Python is free, Php is free, Tomcat w/Java is
free...

where can a newbie like my self find a good tutorial that will teach me how
to do this?
thanks --
Dag
5826'15.9" N 00846'45.5" E

Jul 23 '05 #7
"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:k3*******************@newssvr29.news.prodigy. com...

"Dag Sunde" <ds@orion.no-way> wrote in message
news:cF*****************@juliett.dax.net...
"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:4Q*****************@newssvr27.news.prodigy.co m...

<snipped />
Put the resulting xml-string in a hidden form field on your page, and post it
to the server. On the server side you must have a cgi-script that receives the
xml, and save it. As others have said before; What kind of cgi you use on the
server side doesn't matter. Python is free, Php is free, Tomcat w/Java is free...
where can a newbie like my self find a good tutorial that will teach me

how to do this?
thanks

Well that depends on where you are...

* What (programming)languages do you know?
* What OS are your server running on?
* What kind of web-server are you running?
* Do you have full access to the server, or
is it hosted by someone else?

The snippet under is taken from one of my .ASP
pages written in vbscript:

...
Dim xmlData
xmlData = Request.Form("xmlData")

Dim oDom
oDom = Server.CreateObject("MSXML2.DOMDocument")
if not oDom.loadXML( xmlData ) Then
errorString = oDom.parseError.reason
Else
oDom.save("data/incoming/orders/temp.xml")
end if
...

--
Dag
5826'15.9" N 00846'45.5" E

Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: F. Hall | last post by:
If I read a bitmap image from one file and save it to another the save operation is slow unless I draw on the image. In other words, Image inputImage = Image.FromFile( @"c:\temp\source.bmp" );...
4
by: WJA | last post by:
I'm probably missing something here but I can't understand the following. When 2 users try to save a record with the same primary key (a number field), the first record saves as expected, but the...
5
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
2
by: Alvo von Cossel I | last post by:
hi, you can create a file with the savefiledialog. once you have done that and edit the file in the text editior that i wrote you cannot save the file, you can only create a new file or replace...
10
by: GJP | last post by:
Hello. Ive been asked to make my own notepade for college assignment. All ig going well, but i cant get the save to work. I can get Save a (shows dialog box), i can get it to just save too,...
5
by: C Watson | last post by:
Hi, I'm wondering if anyone can help me with AJAX in ASP.NET 1.1. I have a very specific feature that I would like to use it for. I have a rather long form that the users use to enter data...
3
by: =?Utf-8?B?YXNkZg==?= | last post by:
Hello. I am making a web application with c# and am using this code: Response.ContentType = "application/x-excel"; Response.AddHeader("Content-Disposition", "attachment;filename=" +...
0
by: amrhi | last post by:
Hy Guys , Can anybody help me ? I try to make small web database in my unit. Some of fields have on change behaviour to get other data that automatically filled other text field. But when i try to...
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...
0
by: ppardi | last post by:
I'm developing an addin for Word 2007 and I need to determine whether a user saves a Word 2007 document in an older format (97-2003) after a save as is done. The scenario is that the user starts...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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.