[Project_owners] Turn node to text

Michael Buckley michael.buckley at hotmail.com
Fri Aug 4 14:22:05 EDT 2006

I use this to turn an textString into an xul node that I can inset in
the user interface.

    var parser=new DOMParser();
    var resultDoc=parser.parseFromString(textString,"text/xml");

But how do I go the other way, and turn a node back into text?  DOMi
seams to do this when you select "copy XUL"  But I have failed to find
the function be hind that viewer.cmdCopySelectedXML()

Does any one know to do this?

God Bless

Need FREE FUEL? Become a member of Qualified Opinions 

More information about the Project_owners mailing list