在Eclipse中导入dtd和xsd文件,使XML自动提示
DTD 類型約束文件?
??? 1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,選擇Add 按紐?
????????
??? 2.在Add XML Catalog Entry 對話框中選擇或輸入以下內容:?
??????? Location: F:\soft\programmingSoft\Framework\Ibatis\sql-map-config-2.dtd?
??????? Key Type: URI?
??????? KEY: http://ibatis.apache.org/dtd/sql-map-config-2.dtd?
????????
XSD 類型約束文件?
??? 1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,選擇Add 按紐?
????????
??? 2.在Add XML Catalog Entry 對話框中選擇或輸入以下內容:?
??????? 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?
??????? Key Type: Schema Location?
??????? KEY: http://www.springframework.org/schema/beans/spring-beans-2.5.xsd?
本文來自CSDN博客,轉載請標明出處:http://blog.csdn.net/xiaoping8411/archive/2009/11/17/4822980.aspx
轉載于:https://www.cnblogs.com/google4y/p/3303586.html
總結
以上是生活随笔為你收集整理的在Eclipse中导入dtd和xsd文件,使XML自动提示的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: IOS零碎技术整理(3)-获取wifi列
- 下一篇: 设计模式读书笔记-----代理模式