4 Replies Latest reply on Nov 13, 2007 9:46 AM by smcaulif

    HTML in an XML node

    smcaulif Level 1
      I know I'm missing something basic here. If I have a simple XML document and it contains html that will be displayed in a html textfield (see code snippet) how do you get around the fact that the a tag is seen as a node? So if I'm using something like firstChild.childNodes[0].nodeValue - how can I get this to include the html tag? Do I have to indicate that the node is something other than text, is there such a things as a html node? Or do I have to excape somehow? Thanks.