以iBATIS编写 Sql Map Config 配置文件为例, 添加 sql-map-config-2.dtd 到Eclipse中, 从而获得xml自动的提示的功能
工具:
eclipse
iBATIS
具体步骤:
Eclipse中打开window-->Preferences-->XML-->XML catalog
点击add按钮,弹出对话框
1) location中填入所下载的DTD文件的本机位置;
2) Key Type 选择 Public ID;
3) Key 则填入