I have an xmlDoc and want to remove one of the text nodes, where the textContent is undefined.
I'm struggling because I'm not used to manipulating XML and the methods on the N/xml module do not seem to marry up with what I have or what seems to be regular xml methods looking online.
I thought I could getElementsByTagName and then do xmlDoc.removeChild() supplying the element but it falls over in a heap.
Can anybody steer me in the right direction please?