configure Smart tips (DTD file config)

来源:互联网 发布:什么叫网络设计? 编辑:程序博客网 时间:2024/06/06 21:45
configure Smart tips (DTD file config)
window -> preferences -> xml -> XML Catalog -> Add ->


i.e. 
configuration.xml
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">


Location: local file which download from "http://mybatis.org/dtd/mybatis-3-config.dtd"
Key: -//mybatis.org//DTD Config 3.0//EN


i.e.
mapper.xml
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">


Location: local file which download from "http://mybatis.org/dtd/mybatis-3-mapper.dtd"
Key: -//mybatis.org//DTD Mapper 3.0//EN


then: reopen the xml file use xml style, then can use dtd smart tips.
0 0
原创粉丝点击