1 Reply Latest reply: Apr 19, 2011 9:38 AM by Flex_Screen RSS

    XML Data Conversion Problem

    Flex_Screen Community Member

      Hi,

       

      Am facing problem in flex that using web services am getting the data in xml format (below provided) am not able to provide the data from xml to datagrid. Am getting the data in datagridcolumn with the tag also. I need only data to be displayed without the child tag in the datagrid.

      XML Format output as below:

      <UDSObjectList>
      <UDSObject>
      <Handle>cr:400503</Handle>
      <Attributes>
      <Attribute DataType="2005">
      <AttrName>ref_num</AttrName>
      <AttrValue>671</AttrValue>
      </Attribute>
      <Attribute DataType="2005">
      <AttrName>impact</AttrName>
      <AttrValue>5</AttrValue>
      </Attribute>
      <Attribute DataType="2005">
      <AttrName>priority</AttrName>
      <AttrValue>1</AttrValue>
      </Attribute>

      </Attributes>
      </UDSObject>
      </UDSObjectList>

       

       

       

      Attached the screenshot of output for your reference. The screenshot showing the datawith tag and here is other problem is for request id and impact and priority columns showing three columns data in all the columns.

       

      Actual data is as below:

       

      Request Id is 671

      Impact is 5

      Priority is 1

       

      but the data is shown in all the columns not shown in related columns.

       

      Thanks in advance..........output.JPG