Click to See Complete Forum and Search --> : Save an xml file
anjana
04-03-2000, 08:02 PM
Hi,
I want to save an xml file on the clientside using javascript.Hpw can I do
this?.Any ideas/suggestions will be greatly helpful for me.Thanks in advance.
Rohit Wason
04-04-2000, 02:18 AM
"anjana" <tmmet@hotmail.com> wrote:
>
>Hi,
>I want to save an xml file on the clientside using javascript.Hpw can I
do
>this?.Any ideas/suggestions will be greatly helpful for me.Thanks in advance.
SAVING ANYTHING ON CLIENT SIDE IS IMPOSSIBLE.
This will violate the basic idea of web. Instead, downloading of a file is
possible, which includes a conscent from the user - that he/she wants to
save the file on his/her computer.
Downloading is very sinple, create a file:// hyperlink to anything, you want
to be downloadable:
<A HREF="file://./mydata.xml">Download Now</A>
That's it.
bye
Rohit
IE5 specfic, see the userdata behaviors, these will save client side an xml
doc, that you can pick up later
anjana wrote in message <38e922e9$1@news.devx.com>...
>
>Hi,
>I want to save an xml file on the clientside using javascript.Hpw can I do
>this?.Any ideas/suggestions will be greatly helpful for me.Thanks in
advance.
Brian McNamara
04-06-2000, 10:41 AM
That is not entirely true. You can persist some information on the client.
For more information, see <a href="http://msdn.microsoft.com/workshop/Author/persistence/overview.asp">http://msdn.microsoft.com/workshop/Author/persistence/overview.asp</a>
Brian
"Rohit Wason" <rohitw@futuresoftindia.com> wrote:
>
>"anjana" <tmmet@hotmail.com> wrote:
>>
>>Hi,
>>I want to save an xml file on the clientside using javascript.Hpw can I
>do
>>this?.Any ideas/suggestions will be greatly helpful for me.Thanks in advance.
>
>SAVING ANYTHING ON CLIENT SIDE IS IMPOSSIBLE.
>This will violate the basic idea of web. Instead, downloading of a file
is
>possible, which includes a conscent from the user - that he/she wants to
>save the file on his/her computer.
>Downloading is very sinple, create a file:// hyperlink to anything, you
want
>to be downloadable:
>
><A HREF="file://./mydata.xml">Download Now</A>
>
>That's it.
>bye
>Rohit
kimmo
04-07-2000, 04:01 AM
You can save anything on client computer if you ask permissions for it. What
makes this permission asking difficult is that netscape and ie have their
own security classes which allows to save a file. So the permission asking
is browser depended code.
You can find examples in netscape and ie sites.
"Brian McNamara" <bmcnamara@carolina.rr.com> wrote:
>
>That is not entirely true. You can persist some information on the client.
>For more information, see <a href="http://msdn.microsoft.com/workshop/Author/persistence/overview.asp">http://msdn.microsoft.com/workshop/Author/persistence/overview.asp</a>
>
>Brian
>
>"Rohit Wason" <rohitw@futuresoftindia.com> wrote:
>>
>>"anjana" <tmmet@hotmail.com> wrote:
>>>
>>>Hi,
>>>I want to save an xml file on the clientside using javascript.Hpw can
I
>>do
>>>this?.Any ideas/suggestions will be greatly helpful for me.Thanks in advance.
>>
>>SAVING ANYTHING ON CLIENT SIDE IS IMPOSSIBLE.
>>This will violate the basic idea of web. Instead, downloading of a file
>is
>>possible, which includes a conscent from the user - that he/she wants to
>>save the file on his/her computer.
>>Downloading is very sinple, create a file:// hyperlink to anything, you
>want
>>to be downloadable:
>>
>><A HREF="file://./mydata.xml">Download Now</A>
>>
>>That's it.
>>bye
>>Rohit
>
>
devx.com
Copyright WebMediaBrands Inc. All Rights Reserved