xml给提示

1.     FAQ:不给提示:

a)     window – preferences – myeclipse – xml – xml catalog

b)     User Specified Entries – add

                i.         Location:       D:share900_Springsoftspring-framework-2.5.6dist esourcesspring-beans-2.5.xsd

               ii.         URI:             file:///D:/share/0900_Spring/soft/spring-framework-2.5.6/dist/resources/spring-beans-2.5.xsd

              iii.         KeyType:      Schema Location

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


原理:找个xml文件的http://www.springframework.org/schema/beans/spring-beans-2.5.xsd这个字符串

根据这个字符串去找xml-catalog是否有什么指定的这一项,根据这一项找到对应的文件,根据这个文件

里面是一种xml特殊的文件格式,,如<xsd:.. 里面指定我们的xml在某位置能写什么不能写什么


所以根据这个文件,我们就能确定xml能写什么不能写什么,也就是会产生提示了


这个其实不了解也没关系,会用就行(-。-)

版权声明:本文为博主原创文章,未经博主允许不得转载。

today lazy . tomorrow die .
原文地址:https://www.cnblogs.com/france/p/4808655.html