Ken wrote:
Do you know of anyway to render the DOMDocument i gotten ?
There isn't one, really. You can move its documentElement into another document
(the one in the webnavigation), but that's not guaranteed to work right,
especially in 1.7 and earlier builds.
-Boris
_
Hi Boris,
Do you know of anyway to render the DOMDocument i gotten ?
Thanks...hope for yr reply soon!
regards,
Ken
"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ken Theng wrote:
>> Hi all ,
>> issit possible to load this nsIDOMDocumen
Ken Theng wrote:
Hi all ,
issit possible to load this nsIDOMDocument into the
nsiWebNavigation ? Cos i need to render the nIDOMDocument i gotten
I don't believe you can stick a DOMDocument into a given nsIWebNavigation at the
moment
-Boris
Hi all ,
issit possible to load this nsIDOMDocument into the
nsiWebNavigation ? Cos i need to render the nIDOMDocument i gotten
___
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netli
Hitesh Khamesra wrote:
xml = parser.parseFromString(content, "text/xml");
It does not seems to return, exact "nsIDOMDocument " object. Is there any other way to
get "nsIDOMDocument " object from HTML text.
Erm, it does return an nsIDOMDocument for me:
js> parser =
Components.classes["@moz
write() the text to a freshly created hidden iframe and use the
resulting Document.
___
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib
> parser =
Components.classes["@mozilla.org/xmlextras/domparser;1"]>
.createInstance(Components.interfaces.nsIDOMParser);> > xml =
parser.parseFromString(content, "text/xml");
It does not seems to return, exact "nsIDOMDocument
" object. Is there any other way to get "ns
On Thu, 30 Jun 2005 10:45:36 +0800, ken wrote:
> Now i want to convert this html string into a DOM document so that I can
> manipulate it .
> How am i suppose to do this ?
like this:
parser = Components.classes["@mozilla.org/xmlextras/domparser;1"]
.createInstance(Components
Hiya guys,
ok guys here the description of my project. Currently, I had created an
extension as a TCP server .
My extension will listen to client connection and will receive the html
string from the client.
Now i want to convert this html string into a DOM document so that I can
manipulate it .