0 Replies Latest reply on Mar 23, 2010 11:48 PM by anjiu

    XMLDocument and blank XML tag parse issue

    anjiu

      var xmlDoc:XMLDocument = new XMLDocument();
                      xmlDoc.ignoreWhite = false;
                      xmlDoc.parseXML("<Test> </Test>");
                      var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
                      var processObj:Object = decoder.decodeXML(xmlDoc);
                     trace( processObj.Test  );

       

       

      Result is comming as 0 instead of a blank space between the tags(<Test> </Test>).