[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Fwd: A question about Javascript and DOM support in Lonqueror
From:       Emmanouil Batsis <manos_lists () geekologue ! com>
Date:       2005-09-14 15:03:13
Message-ID: 200509141803.14262.manos_lists () geekologue ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic