Constructing an XML object from scratch with xml2tree...


Constructed a node and children from scratch
<wibble name="glob" rank="smelly" cereal="cornflakes" >
Friday 29th 2024f March 2024 06:15:30 AM
<fizz bubbles="CO2" copied="yes" >
</fizz>
<fizz bubbles="N2" copied="no" gas="oops, sorry..." referenced="yes" >
</fizz>
</wibble>

Now removed middle child and deleted 'name' attribute
<wibble rank="smelly" cereal="cornflakes" >
Friday 29th 2024f March 2024 06:15:30 AM
<fizz bubbles="N2" copied="no" gas="oops, sorry..." referenced="yes" >
</fizz>
</wibble>

Now removed child by template-matching
<wibble rank="smelly" cereal="cornflakes" >
Friday 29th 2024f March 2024 06:15:30 AM
</wibble>