Level: elementary
Jane Fung, jcyfung@ca.ibm.com, visualage for Java support, IBM Canada
July 01, 2001
This introductory article explains how to create an XML "Document Type Definition (DTD)" and an XML file with a correctly defined format that can
Zhou (zhoujtnet@yahoo.com.cn) National Professional Laboratory of CAD/CAM, Northwestern Polytechnical University
Wang Ming Micro (wangmv@hotmail.com) Northwest University of Technology CAD/CAM National Professional Laboratory
July 01, 2002
XML DTD
Getting started with XML DTD(09:08:49)
Tags: Miscellaneous
DTD can actually be seen as a template for one or more XML files. The elements in these XML files, the attributes of elements, the arrangement/sequence of
Author DTD _ Baidu Encyclopedia: http://baike.baidu.com/view/147436.htm
DTDDocument Type Definition(Document Type Definition)DTD is a set of syntax rules for tags. It is part of the xml1.0 specification and is a validation mechanism for XML files.
This article mainly introduces the Document Type Definition of DTD in XML, which is the basic knowledge in getting started with XML. For more information, see The Document Type Definition of DTD in XML, it is the basic knowledge for getting started
Level: Primary
Jane Fung (jcyfung@ca.ibm.com), VisualAge for Java support, IBM Canada
This introductory article of July 01, 2001 describes how to create XML document type definition (DTD) and well-formed XML files that can be validated by the XML
Document directory
Example:
Example:
1. Introduction to DTD
Document Type definition;
DTD is a type of XML constraint. In addition to this constraint, it also has xschema, xschema is more powerful than DTD constraints, so DTD is gradually
XML constraintsIn XML technology, you can write a document that constrains the writing specification of an XML document, which is called an XML constraintWhy do I need XML constraints?Class.xml XML file tags can be written casually, the DTD can be
What is XHtml:
To extract a sentence from the Internet, XHTML is an XML that plays a role similar to HTML.XHtml can be used as a template engine application:
The CYQ. Data framework has a set of XHtmlAction template engines applied to QBlog
I. Document TYPE declaration:A) Declaration of the internal DTD:The DTD definition statement is in the same document as the XML document, usually placed on the head. The format is as follows:
...
] >
Note that the name of the root tag is
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.