Revert "Add function dolEscapeXML"

This reverts commit 756b1d31ad24a7908a875e180ebc7a759ef31311.