XML class wonderful question and answer

xiaoxiao2021-03-06  73

Nanning's Fang Qingbo Q: What is the architecture of an XML document?

A: The architecture is the official specification of the XML document rules, that is, the element name. Architecture represents which elements that are allowed in documents and which combinations allow. Many architectures are scalable, so developers can use additional information to expand them, which makes these new architectural languages ​​more powerful than DTD.

Hu Mengqian, Shenyang City, asked: What is the object of XML?

A: You can mark a common document, such as a structure record, data and method, data record, metadature content, graphical representation, standard architectural entities, and types, information about the Web site All links between users are other.

Jin Zuwu in Fuzhou City: What is the difference between XML and C, C ?

Answer: C, C , and similar to Fortran, Pascal, Basic, Java, etc. are called programming languages. XML is a labeling language used to describe information such as text and data. XML can be used to store, transfer, or to program the event. For XML, there is no specific data object to handle it, but sometimes the specific data object appears in a concealed form, but this cannot be used to use the XML. This way you can understand that XML, HTML, and SGML are used for programs. They are actually substantive roles. They are a flag, a flag indicating the data type, when the program is used to use these data types, XML's role Reflect it.

Is it a matter of XML, HTML and SGML?

A: Strictly said that it is not entirely. SGML is a native language that has been used in all kinds of documents, which involves an old Irish manuscript, a top secret bomber technology document, a patient's medical medical record, musician's score. SGML is large and complicated, which limits it for ordinary applications.

XML can be said to be a simplified version of SGML, which makes the programmaked type easier and make programmers more easily identify them. XML deletes all of SGML uncommonly complex functions, which make programs easier to write, and increased online transfer capabilities and collaborative work. XML should be an SGML, which is the same as other programs of SGML. HTML can be said to be an application of XML and SGML, but it is the most common application online.

Network programmers often find such a relationship, that is, using XML instead of SGML to achieve good results, and this effect is better than HTML .

转载请注明原文地址:https://www.9cbs.com/read-90630.html

New Post(0)