/usr/share/doc/xmlstarlet/examples/escape1 is in xmlstarlet 1.6.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 | #!/bin/sh
# Escape special XML characters
cat xml/structure.xml | ./xmlstarlet esc
|