> > That's the detail I was missing.
> 
> Hmm, some more testing shows that this method is problematic in 
> your  use case. A lot of stuff is filtered out when using 
> innerHTML,  including <html>, <head>, and <body>. While you can 
> easily parse HTML  this way, it won't work for complete document 
> roundtrips. I don't know  if you can live with that.

Yes, it's fine - we were stripping the <html> tags anyway before showing
in the HTMLEmbed item.

The problem I've hit now is finding the img node in the document for
putting the proper src entry back in place. document.getElementById works
in FF but fails to find anything in IE. The IE-specific function
selectSingleNode only exists for the nodes of XML documents.

Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to