I have this XML structure:
<numb>
<variable>
<name>john</name>
<age>12</age>
</variable>
<variable>
<name>janet</name>
<age>10</age>
</variable>
<variable>
<name>johanna</name>
<age>22</age>
</variable>
<variable>
<name>harry</name>
<age>24</age>
</variable>
</numb>
If I try to delete the variable with name johanna I do this:
delete numb.variable.(name=="johanna);
but then, I get this error:
"Error #1119: Delete operator is not supported with operand of type XMLList"
suggesting the numb.variable.(name=="johanna") is an XMLList ..but then I tried this:
delete XML(numb.variable.(numb=="johanna");
but that didn't delete anything..
Anyone knows how I could delete a certain variable in the numb XML?