`

Myeclipse 下XML DTD 提示配置

    博客分类:
  • IDE
阅读更多

例如要引进struts2的dtd 提示

windows

--Preferences

   -- MyEclipse Enterprise Workbench

       --XML--XML Catalog

 

 

 在右边XML Catalog Entries

User Specified Entries的树

点击new

一下是struts2的xml 头

 

 

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

 

新建内容填写如下

 

location: dtd所在文件目录

key Types: public ID

key:-//Apache Software Foundation//DTD Struts Configuration 2.0//EN

 

 

schema 添加 写道
1.首先Windows-->preferences-->myeclipse--files and editors -->xml-->xml catalog
2.单击add出现的窗口中的Key Type 中选择URI 在location中选择FileSystem然后在spring的解压目录的dist/resources目录中选择spring-bean-2.5.xsd
3.回到设置窗口,把窗口中的KeyType改为Schema Location
4.Key的后边加上spring-bean-2.5.xsd
5.完成
 
分享到:
评论
2 楼 aguu125 2009-11-18  
MyEclipse 里面
依次选择
windows
--Preferences
   -- MyEclipse Enterprise Workbench
       --XML--XML Catalog
选项
在右边界面有个Add按钮
location,key Types 和key是弹出框“Add XML Catalog Entry”的填写选项。。
1 楼 wv1124 2009-11-18  
   1. location: dtd所在文件目录 
   2.  
   3. key Types: public ID 
   4.  
   5. key:-//Apache Software Foundation//DTD Struts Configuration 2.0//EN 

没看明白,这个用在那,谢谢

相关推荐

Global site tag (gtag.js) - Google Analytics