Hi all,
Is there a small code fragment, that converts a dom element (i.e. a DIV)
into plain text, that works with the latest XULRunner?
Regards,
George
Στις 5/10/2011 18:57, ο/η Georgios Petasis έγραψε:
Dear all,
What is "node fixup" when encoding in plain text? Do I need to provide
such a class to the nsIDocumentEncoder? Is there a simple example
anywhere?
Regards,
George
Στις 5/10/2011 14:01, ο/η George Petasis έγραψε:
Hi all,
I had some embeding code that used to work with xulrunner 1.9.2 (i.e.
last year), but stopped working with xulrunner 2.0. The code creates
an nsIDocumentEncoder, and uses EncodeToString() to serialise
specific DOM elements (some DIVs) to plain text.
In xulrunner 2.0, the code somewhat works (i.e. I get a text back),
but this text is not the DOM node I set with SetNode, but the whole
document. The encoder flags are 0 (no flags).
Any ideas on what has changed, and what is wrong now with my code?
Regards,
George
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding