in reply to Re: LibXML error when trying to delete a node in DOM
in thread LibXML error when trying to delete a node in DOM

after the ergonomic intervention of monk Athanasius, I can also see the use of $a instead of $a[0].