How to delete xml attributes by indesign file.
Dear friends,
I need to delete xml attributes only (Element "ul"), i have try to below coding and attached screenshot also, but i have doing some mistake. i don't what i missing the below coding.

My coding in the below.
var elements = app.activeDocument.xmlElements[0].xmlAttributes.item["@new_class"] = "list-style-type:none";
alert(elements.length);
delete elements["@new_class"];
please suggest friends,
Advance Thanks,
