The xml edit command is a part of the XMLStarlet toolkit, a suite of command-line utilities designed to automate the editing, querying, validation, and transformation of XML documents.
The xml escape command is a utility that is often part of xmlstarlet, a command-line toolkit designed to transform, query, validate, and edit XML data.