2 Replies Latest reply on Mar 14, 2007 6:29 PM by csawall

    Using data from HTTPService call

    csawall
      Topic moved from Flex Builder 2 to this forum. Was: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=582&threadid=1249450

      Tracy - my exported XML looks like this:

      <core>
      <main>
      <m1>m1 text data</m1>
      <m2>m2 data</m2>
      <m3>m3 text data</m3>
      <submain>
      <sb1>sb1 data</sb1>
      <sb2>sb2 text data</sb2>
      <sb3>sb3 text data</sb3>
      </submain>
      <submain>
      <sb1>sb1 data</sb1>
      <sb2>sb2 text data</sb2>
      <sb3>sb3 text data</sb3>
      </submain>
      </main>
      <main>
      <m1>m1 text data</m1>
      <m2>m2 data</m2>
      <m3>m3 text data</m3>
      <submain>
      <sb1>sb1 data</sb1>
      <sb2>sb2 text data</sb2>
      <sb3>sb3 text data</sb3>
      </submain>
      </main>
      </core>

      I would like to export it to a csv that would look like this:

      m1 data; m2 data; m3 data;;;
      ;;;sb1 data;sb2 data;sb3 data
      ;;;sb1 data;sb2 data;sb3 data
      m1 data; m2 data; m3 data;;;
      ;;;sb1 data;sb2 data;sb3 data

      Like I said, I based my export on how this tutorial worked and by using a resultFormat of e4x. ( http://www.brucephillips.name/blog/index.cfm/2006/10/15/XML-Tutorial-Part-2)

      Thanks for taking the time to look at this.

      Chris