So, maybe you can provide some clarity on how to delete an XML node by passing an XMLList reference as the operand.
I keep getting this error: TypeError: Error #1119: Delete operator is not supported with operand of type XMLList. Yet in the documentation, it states "When used with an XMLList operand, the result of the delete operator is always true because the XMLList operand always refers to a valid (though possibly empty) XMLList object."