1 Reply Latest reply on Dec 1, 2009 10:47 PM by Flex harUI

    Retrieve data in CDATA section with e4x

    glen08 Level 1

      I got a XML as following from HTTPService:

       

      <?xml version="1.0" encoding="utf-8" ?>
      <qas>
          <category name="XML Questions" code="XML">
              <qa id="1" shortName="">
                  <question>
                      <![CDATA[ <> ....?]]>
                  </question>
                  <answer>
                      <![CDATA[ ...() <>]]>
                  </answer>
              </qa>
              <qa id="2" shortName="">
                  <question>
                      <![CDATA[What is a <element> ?]]>
                  </question>
                  <answer>
                      <![CDATA[ A <element> is node element in xml]]>
                  </answer>
              </qa>

          </category>
      </qas>

       

      How do I retrieve the questions and anwsers in the CDATA section with e4x?