0 Replies Latest reply on Apr 21, 2009 7:41 AM by greenarrowpro

    XML Automatically closing empty nodes?

      Hello i am having a problem with Flex reformating my XML. When i load in my data I am using a application configuration file which needs to stay in a certain format i.e. : <NODE></NODE>


      But when i load in the xml and perform:


      var xml:XML = new XML(e.result);


      from an HTTP Service result, Flex automatically changes the <NODE></NODE> to <NODE /> which ultimatly breaks my server side application.

      I tried changing the result format on the HTTP Service from xml to text, e4x ...etc nothing. The only thing i can find that solves this is by using the XMLDocument class instead of the XML class, which makes my job editing the XML very hard.


      Is there any way to tell Flex not to do this?? Thanks!