1 Reply Latest reply on Mar 14, 2007 7:17 AM by BorosAdam

    parsing XML with html tags for style

    rrose@techbridge.org
      I'm using flash to pull in XML data, but I want to use html tags to be able to style the text. When I add any html, it treats it as a sub-node and ignores the data. Also, line breaks in the xml are being converted to double spaced paragraphs? The relevant code is basically this:

      if (element.nodeName.toUpperCase() == "TEXT")
      {//add text to text array
      ar_text[s]=element.firstChild.nodeValue;
      }
      textbox1.text = ar_text[0];