在Eclipse中导入dtd和xsd文件,使XML自动提示(转)

DTD 类型约束文件    spring

1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽            sql

2.在Add XML Catalog Entry 对话框中选择或输入如下内容:       apache

    Location: F:/soft/programmingSoft/Framework/Ibatis/sql-map-config-2.dtd        ci

    Key Type: URI        get

    KEY: http://ibatis.apache.org/dtd/sql-map-config-2.dtd         it

XSD 类型约束文件io

1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽            map

2.在Add XML Catalog Entry 对话框中选择或输入如下内容:        programming

    Location: F:/soft/programmingSoft/Framework/Spring/spring-framework-2.5.6.SEC01-with-dependencies/spring-framework-2.5.6.SEC01/dist/resources/spring-beans-2.5.xsd     di

    Key Type: Schema Location        

   KEY: http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

相关文章
相关标签/搜索