Add XML catalog in Eclipse for coding prompt

For MyBatis-3.4.4, I need coding prompt from two .dtd files if no Internet:
http://mybatis.org/dtd/mybatis-3-config.dtd“ for global configuration xml.
http://mybatis.org/dtd/mybatis-3-mapper.dtd“ for mapper configuration xml.
So set some items like the figure:
set.png

Then close the xml file and then reopen it, done!