1 Reply Latest reply on Apr 19, 2013 6:48 AM by kglad

    remove attribute in xml

    A.kameshwaran Level 1


           How to delete/remove the attributes from the xml.

        • 1. Re: remove attribute in xml
          kglad Adobe Community Professional & MVP

          use "delete".


          for example:




          var xml:XML=<e>

                <employee id='41'>
                        John Doe
                        601 Townsend St.
                <employee id='42'>
                        Jane Q. Public
                <department id="IT">
                    Information Technology


          delete xml.firstChild.firstChild.attributes["id"]