Custom DTD (XML prompt function of myeclipser)

Source: Internet
Author: User

For more information about DTD definition, see: http://www.w3school.com.cn/dtd/dtd_elements.asp

PS: The text is just a brief introduction, which can be used as an example.

1. Create a DTD file

<? XML version = "1.0" encoding = "UTF-8"?> <! Element JS (content)> <! Element Content (Num, type, mode, assist, annotation)> <! ATTLIST numvalue CDATA "1"> <! ATTLIST typevalue (JS | JQ) "JS"> <! ATTLIST modevalue (static | method) "static">

2. Add DTD reference in myeclipse (window --> preferences --> XML Catalog)

3. Open the XML file in myeclipse, right-click the file and choose open with --> myeclipse XML editor

After completing the preceding three steps, the XML custom prompt "pai_^" is displayed.

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.