0 Replies Latest reply on May 19, 2011 3:46 PM by alinhawaii

    XML repeating issue via wrapping tags

    alinhawaii

      I have a simple data grid that I'm populating from an xml file that looks like the xml here at the bottom.
      I'm using the following to retrieve whats in the Value tag

       

      myXML7.source = nodes.descendants()..Field.(@Hint=="test").Value;

       

      and it shows what's needed (So Amy what brings you here today?)

       

      when the test tag(<test id='0'>) doesn't wrap the rest of the tags but when it does it duplicates
      So Amy what brings you here today?
      So Amy what brings you here today?

       

      Does anyone know what's going on and if there's a fix besides removing the test tag?

       


      <?xml version="1.0" encoding="utf-8"?>
      <Blah>
      <test myName="0">
        <Fields>
          <Field Type="Text" Hint="test">
            <Title>Dialogue Text</Title>
            <Value>So Amy what brings you here today?</Value>
          </Field>
        </Fields>
        </test>
      </Blah>