在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

相關文章
相關標籤/搜索