1 Reply Latest reply on Sep 19, 2007 10:33 AM by webvalue

    Empty xml nodes

    webvalue Level 1
      Hi,

      If a xml node is empty, I need to delete that parent node. But Flex builder will give an error if the code runs through an empty node: "Error #1010: A term is undefined and has no properties."

      So how can I detect the empty node? I tried to use things like:
      if (parentnode.node.toString()=="") , it still gives me the error as above.

      Any thought?