473,769 Members | 5,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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**********@sb cglobal.net

WStoreyII
Jul 23 '05 #1
7 2169
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**********@sb cglobal.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_remov e_get_nospam_so lutions.com> wrote in message
news:31******** *************** *******@news.te ranews.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**********@sb cglobal.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?TMSByrtpZSB UZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javas cript:
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**********@sb cglobal.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******** ************@19 4.109.133.29...
=?UTF-8?b?TMSByrtpZSB UZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javas cript:
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**********@sb cglobal.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**********@s bcglobal.net> wrote in message
news:4Q******** *********@newss vr27.news.prodi gy.com...

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
=?UTF-8?b?TMSByrtpZSB UZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javas cript:
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**********@sb cglobal.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******** *********@julie tt.dax.net...
"WStoreyII" <pa**********@s bcglobal.net> wrote in message
news:4Q******** *********@newss vr27.news.prodi gy.com...

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
=?UTF-8?b?TMSByrtpZSB UZWNoaWU=?= wrote on 27 jun 2004 in
comp.lang.javas cript:
> 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**********@sb cglobal.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**********@s bcglobal.net> wrote in message
news:k3******** ***********@new ssvr29.news.pro digy.com...

"Dag Sunde" <ds@orion.no-way> wrote in message
news:cF******** *********@julie tt.dax.net...
"WStoreyII" <pa**********@s bcglobal.net> wrote in message
news:4Q******** *********@newss vr27.news.prodi gy.com...

<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)la nguages 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("x mlData")

Dim oDom
oDom = Server.CreateOb ject("MSXML2.DO MDocument")
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
626
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" ); using ( Graphics g = Graphics.FromImage( inputImage ) ) { g.DrawLine( new Pen(Brushes.White), 0, 0, 1, 1 ); } inputImage.Save( @"c:\temp\sink.bmp", ImageFormat.Bmp );
4
3443
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 second does not produce an error. The "Save" button uses "Docmd.Save" to save the record. If I insert "Me.Dirty = False" before "Docmd.Save" an error is produced. Why doesn't "Docmd.Save" produce an error but instead silently fails to save the...
5
6894
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 downloaded before the Save As dialogue appears. As we will be downloading some large files, it's unpractical to have this. So far the code I have to download the file is
2
1857
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 the old one. how do i save it again? -- Alvo von Cossel I of Germany
10
4347
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, but when i try to put an IF in it to check if the file has already been saved before, it will not save.
5
2663
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 during a phone call with a client. Since it's long, I put six Save buttons down the length of the form and asked the users to save often. When they click the Save buttons, the data is saved to a central database and a text label is changed to say...
3
6440
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=" + HttpUtility.UrlEncode("あいうえお") + ".csv"); Encoding encoding = Encoding.GetEncoding("Shift-JIS"); Response.BinaryWrite(encoding.GetBytes(csvStr)); Response.End(); It works fine..the data gets saved nicely to an excel file. The user pushes the...
0
2412
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 hit "enter" after i fill text field , its automatically save data in my table database . I just want to save data after , i click "save" button. <?php include"session.php"; mb_http_input("iso-8859-1"); mb_http_output("iso-8859-1"); $tgl=$_POST;...
12
4775
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
0
3752
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 out with a Word 2007 document, saves that document to disk, then saves the same document in an older format If the user saves a doc in an older format, I want to turn off certain features of my add-in. I'm able to trap the save event easily...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9416
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
10032
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
9849
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7393
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
6661
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
5293
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3948
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
3551
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.