1 Reply Latest reply on Dec 4, 2008 10:27 AM by rtalton

    Strip off markups of generic XML data with E4X

      I have a generic XML file:

      <node1 att1='abc' att2='xyz'>
      <ele1> Hello </ele1>
      <ele2> Hi </ele2>

      The tag and attribute names above can be anything. I need a generic method to strip off the XML markups and display the contents as:

      node1@att1: abc
      node1@att2: xyz
      node1.ele1: Hello
      node1.ele2: Hi

      How can E4X do this?