Fwd: A question about Javascript and DOM support in Lonqueror

Emmanouil Batsis manos_lists at geekologue.com
Wed Sep 14 16:03:13 BST 2005


On Thursday 08 September 2005 19:12, David Faure wrote:
> So my real question is, how am I supposed to create a DOM document and
> then add the root document to it?


Sarissa.getDomDocument is, as u said, a wrapper for 
document.implementation.createDocument. All you need to do is pass it a 
namespace and QName like

Sarissa.getDomDocument("my.namespace.uri", "prefix:name");

I dont know y you are having trouble adding the documentElement manually.

Manos




More information about the kfm-devel mailing list