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.
Basic terminology
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
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
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
Design
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,
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.
For
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
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
XML technology, you can write a document to constrain an XML writing specification, a document called a constraint.Common constraint Techniques: XML DTDXdrSOXXML SchemaQuick start of DTD: DTD (document type definition): Documentation type
Bloggers are too lazy to provide a sample program6, based on UDP Development(1) Sender:socket-> preparing the packetDatagramsocket docket = new Datagramsocket ();Prepare the packet,InetAddress ia = inetaddress.getbyname (" IP address of each other ")
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.