krithika wrote:
> // create comment as shown
> nsAutoString str,comment,value;
> comment.Assign(NS_LITERAL_STRING("<!-- MY COMMENT -->"));You never use this string in your code. So I'm not sure what you're doing with it exactly. > range->SelectNode(node); That's going to replace your text, but whatever. > Both InsertNode(newtext) and InsertNode(commentNode) gives me the same > result. > I get < MY COMMENT > You get that where? -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

