krithika wrote: > Can someone tell me how to insert a comment node to a nsITextContent.?
Meaning what? None of the nodes implementing nsITextContent are allowed to have kids. So what are you actually trying to do? -Boris P.S. I suggest doing whatever you're doing using DOM APIs. Unless what you're doing is extremely performance-sensitive, there's no reason to use nsITextContent. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

