ed: Allow omitting value argument to insert empty element

The value `""` to `xmlNewDocNode` create a non-empty element, the value `0` create an empty element.