OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


--- "Roger L. Costello" <costello@mitre.org> 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS