Import DTDs and XSD files in eclipse to automatically prompt the XML

Source: Internet
Author: User

DTD type constraint file
1. window->preferences->xml->xml catalog->user Specified Entries window, select the Add button

2. In the Add XML Catalog Entry dialog box, select or enter the following:
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. window->preferences->xml->xml catalog->user Specified Entries window, select the Add button

2. In the Add XML Catalog Entry dialog box, select or enter the following:
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

Import DTDs and XSD files in eclipse to automatically prompt the XML

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.