Re: [xml-dev] Saving a DOM Tree that's in IE

From
Mike Champion <>
To
"Roger L. Costello" <>,
Date
2002-06-26T14:02:26Z
ID
<>
Thread
Re: [xml-dev] Saving a DOM Tree that's in IE
--- "Roger L. Costello" <> wrote:
> Suppose that I add to a DOM tree using Javascript in
> Internet Explorer
> (e.g., add a new subtree).  Is there a way to save
> the in-memory DOM

You can instantiate an XMLHTTP object and PUT or POST
the xmltext from the DOM back to a web server.  I've
never figured out how to save it directly to the
filesystem.

I don't have any sample code handy (contact me offline
if you get stuck) but I'm pretty sure that Googling
for "XMLHTTP POST" will point you to some examples.

DOM Level 3 will define a "standard" load/save
interface at long last.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com