Simple replacement method for swapping a child node with a new node, inspired while porting code using Perl's XML::LibXML.
Would need more boilerplate to handle all possible inputs, but shipping this as a quick minor release and keeping things moving. I wrote some basic sanity tests, basic usage pattern seems functional.
Simple replacement method for swapping a child node with a new node, inspired while porting code using Perl's
XML::LibXML
.Would need more boilerplate to handle all possible inputs, but shipping this as a quick minor release and keeping things moving. I wrote some basic sanity tests, basic usage pattern seems functional.