[软件设计/软件工程] 在 ECLIPSE 中导入 DTD 和 XSD 文件以使 XML 自动提示

[复制链接]
发表于 2022-5-2 10:49:55
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

(DTD type constraint file
1. In the window - > Preferences - > XML - > XML catalog - > user specified entries window, select the Add button
2. Select or enter the following in the add XML catalog entry dialog box:
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 type constraint file
1. In the window - > Preferences - > XML - > XML catalog - > user specified entries window, select the Add button
2. Select or enter the following in the add XML catalog entry dialog box:
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
)





上一篇:设计模式阅读笔记-----代理模式
下一篇:IOS零碎技术整理(三)——获取WIFI列表

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表