Concepts of entities

Source: Internet
Author: User
Tags xsl

Logically, an XML document consists of a sequential process, which closely contains the basic elements of all other elements. however, the actual data of XML documents can be expanded and distributed in several documents. For example, even if an education statistics contains thousands of students, each student element can exist in an independent file. The storage unit that contains XML document details is called entity ). An object may consist of a file, a database record, or other items containing data.
The storage units and basic elements that contain XML declarations or document type declarations are called document entities ). However, the basic element and its derived element can also contain entity references pointing to the additional data to be inserted into the document. The XML processor for correctness check submits the document to the final application.ProgramBefore or before a file is displayed, all different entity references are combined into a single logical structure document.
The main purpose of an object is to save the following content: XML with a complete structure and other forms of text or binary data. The process and document type declaration are part of the basic elements of the document to which they belong. An XSL style sheet can be used as an object only when it is a fully structured XML document. The entity that makes up an XSL style sheet is not one of the elements of the XML document that applies the style sheet. A css style is not an entity.
Most objects have a name that can be referenced. The only exception is the main file and object that contain XML documents. Document entities are a storage unit regardless of the structure they adopt. They are used to store XML declarations, document type declarations, and basic elements. Therefore, each XML document must have at least one object.
There are two types of entities: internal entities and external entities. Objects defined completely inside the Document Object are called internal entities. The document itself is such an entity. Therefore, all XML documents must have at least one internal entity. On the contrary, the data obtained from the resource located through the URL is called an external entity. The main document only contains the URL of the actually referenced data location. In HTML, when the document between the <HTML> and There are two types of entities: detachable and non-analytic entities. The analytic entity contains XML text with a complete structure. The non-analytic entity contains binary data or non-XML text. If, in essence, most XML processors currently do not support non-analytic entities well.

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.