Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XML and HTML DOM in parallel

Reply
Thread Tools

XML and HTML DOM in parallel

 
 
manu3d
Guest
Posts: n/a
 
      02-12-2008
Hi everybody,

I'm having a lot of fun with XML+XSL generating XHTML+Javascript, but
I'm also having a bit of an issue with how to go back into the
original XML.

Specifically, thanks to Javascript I can create input fields and
selector menus on the fly accessing the HTML DOM. Basically the user
clicks on a some parts of the page text and it automagically becomes
editable or it transforms itself into a selection menu. But how do I
then update the original XML DOM? Can't I update -that- instead and
refresh the HTML DOM as a consequence?

Furthermore, how do I save back the DOM object into the original file?
A generic visitor using a browser doesn't normally have the permission
to overwrite existing file does it?

Thanks for your help.

Manu
 
Reply With Quote
 
 
 
 
Joseph Kesselman
Guest
Posts: n/a
 
      02-12-2008
manu3d wrote:
> Furthermore, how do I save back the DOM object into the original file?
> A generic visitor using a browser doesn't normally have the permission
> to overwrite existing file does it?


No, it doesn't. You have to perform an explicit transaction with the
server if you want to send data back to the server, and the server has
to be set up to support that request.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
 
Reply With Quote
 
 
 
 
manu3d
Guest
Posts: n/a
 
      02-13-2008
On Feb 12, 9:03 pm, Joseph Kesselman <(E-Mail Removed)>
wrote:
> manu3d wrote:
> > Furthermore, how do I save back the DOM object into the original file?
> > A generic visitor using a browser doesn't normally have the permission
> > to overwrite existing file does it?

>
> No, it doesn't. You have to perform an explicit transaction with the
> server if you want to send data back to the server, and the server has
> to be set up to support that request.


Thank you for the confirmation, I'll then have to investigate on how
to achieve this.

Ciao!

Manu
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parallel in, Parallel out shift register Vivek Menon VHDL 0 06-10-2011 10:15 PM
Parallel in, Parallel out shift register Vivek Menon VHDL 5 06-08-2011 03:56 PM
Parallel port control with USB->Parallel converter Soren Python 4 02-14-2008 03:18 PM
DOM ? HTML DOM mk834tt@yahoo.com Javascript 1 12-20-2007 01:08 AM
Convert a XML DOM Object to a HTML DOM Object manjunath.d@gmail.com XML 0 09-20-2005 08:16 AM



Advertisments