2 Replies Latest reply on May 8, 2009 12:32 PM by mickey3

    so strange why does flex converts xml attributes to element nodes?

    mickey3

      So i just found out that when you send this data using HTTPService:

       

        <mx:request xmlns="">
                  <site link="http://localhost:8080/mcfserver/sites/4/config" name="david test site" id="0" >           
                      <config>
                      <job>test data</job>
                      </config>
                  </site>         
              </mx:request>

       

      Flex converts it and sends it over http in this form:


      <site>

      <config><job>test data</job></config>

      <id>0</id>

      <link>http://localhost:8080/mcfserver/sites/4/config</link>

      <name>david test site</name>

      </site>

       

      That is so strange did you see how flex broke it down into their invididual element nodes? So i'd like to know the explanation behind that and how so flex does not do that.

       

      Thanks.