2 Replies Latest reply on Oct 23, 2009 2:41 PM by bchalupka-syPD9H

    Problem with XML attributes

    bchalupka-syPD9H

      It seems like the conversion of characters, that are not allowed in a string, is not working correctly.

       

      You can test it with the following code:

       

      var myXML:XML = <doc/>;
      myXML.@test = "<>";

      trace(myXML.toXMLString());

       

      The > is not converted to &gt;. How can I fix this problem? Is it a bug?