/usr/share/doc/xmlstarlet/examples/ed-expr is in xmlstarlet 1.3.0-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2
#!/bin/sh ./xmlstarlet ed -u /xml/table/rec/@id -x .+1 xml/table.xml