How do I delete an attribute on an XML node in E4X? I thought this would be easier but I haven't found any examples.
I tried:
delete xml.attribute("myAttribute");
which gives me the following error:
TypeError: Error #1119: Delete operator is not supported with operand of type XMLList.
and I've tried:
xml.attribute("myAttribute") = null;
which causes a compiler error.