2 Replies Latest reply on Jul 3, 2006 11:42 AM by Flex harUI

    Remove an End Node(leaf) in an XML Document

    Chester_Copperpot
      I have an object type node, where each one was one object type node, which can contain one object type node etc. I need to remove the last item, and return the new xml document see the example, any ideas?

      <menuItem id="itemID" graphic="" name="test01" text="test01">
      <menuItem id="itemID" graphic="" name="test01" text="test01">
      <menuItem id="itemID" graphic="" name="test01" text="test01" >
      <menuItem id="itemID" graphic="" name="test01" text="test01" >
      </menuItem>
      </menuItem>
      </menuItem>
      </menuItem>

      Thanks,

      Chester