-
介绍
本文介绍如何在Eclipse插件中添加xsd,方便利用xsd来新建xml文件。
-
扩展点
org.eclipse.wst.xml.core.catalogContributions
下面是添加xsd的例子:
1 2 3 4 5 6 7 8 9 10 |
<extension point="org.eclipse.wst.xml.core.catalogContributions"> <catalogContribution id="default"> <uri name="http://autotest.surenpi.com/" uri="xsd/autotest.web.framework.xsd"/> <uri name="http://autotest.surenpi.com/xsd/suite" uri="xsd/autotest.web.framework.suite.xsd"/> <uri name="http://autotest.surenpi.com/xsd/datasource" uri="xsd/autotest.web.framework.datasource.xsd"/> </catalogContribution> </extension> |
谢谢分享