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.
First, preface prolog: Includes XML declaration (XML Declaration) and document type declaration (Doc type Declaration).II. Good structure (well-formed specification): An XML document that conforms to the definition of a
An XML DTD can actually be viewed as a template for one or more XML files, the elements in these XML files, the attributes of the elements, the arrangement/order of elements, the content that elements can contain, and so on, must conform to the
DTD constraints: Declarations and references to DTDs1. Internal DTD Documentation 2. External DTD documentation " DTD file path "> or "DTD name ""URL for DTD file">3, thebasic syntax of DTD elements: ! element name category > or -element is
In the implementation of XML parser, the implementation of DTD is quite troublesome. The trouble lies not in the logic of the DTD, but in how to process the external entity of the DTD, for example, the mutual calls between the DTD files.
XML DTD ValidationFirst, what is a DTD Document type definitions (dtd:document type definition) define legitimate XML document building blocks. It uses a series of legitimate elements to define the structure of the document.DTDs can be declared in
In XML technology, a document can be written to constrain the writing specification of an XML document, which is called an XML constraint.
A common constraint technology XML DTD; XML Schema.
XML Schema is also a schema language for defining and
In order to facilitate the transfer of funds between his stock fund account and bank account, an application layer protocol is needed to realize this function. Generally is based on the TCP/IP Protocol design High-level application protocol,
XML we use a lot of simple XML document structure We also know that attributes, it seems to be so-so-so know, but in the further understanding of XML, it is not enough to find out what they know, to organize the information.1. XML declarationAn XML
XML, as a markup language, is defined by a document (Document Type Definition DTD). DTD can be seen as a template for a class of XML documents. It defines the logical structure of the document and specifies the elements, entities, attributes, and
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:
and provide relevant evidence. A staff member will contact you within 5 working days.