0 Replies Latest reply on May 16, 2012 3:20 AM by sumit.king7

    Saving a blank node of xml in normal closing instead of self closing.

    sumit.king7 Level 1

      I am having a string.

       

      var str:String = '<p>a</p><p><blanknode></blanknode></p>';

       

      im converting this string into xml like this:

       

      var myXmlList:XMLList = new XMLList(str);

       

      But the flex compiler automatically parses it as <blanknode/> ie. selfclosing.

       

      How can I forcefully save it in normal closing mode.

       

      Sumit