mybatis xml 特殊字符转义

【参考文章】:mybatis 中的 xml 配置文件中 ‘<’、 ‘>’ 处理

1、使用转义字符将 ‘<’、 ‘>’ 替换掉

描述   字符  转义字符
小于号   <   &lt;
大于号   >   &gt;
和         &   &amp;
单引号   ’   &apos;
双引号   "   &quot;

原文地址:https://www.cnblogs.com/virgosnail/p/10783708.html