A quick introduction to xml
A Quick Introduction to XML This document provides a quick introduction to some of the terms and concepts used in the analysis of the XML documents in the Tutorial section of the CellML website The terms are taken from the original XML speci ?cation http www w org TR REC-xml- published in February by the World Wide Web Consortium The following online resources provide more thorough documentation on XML ? http www w org XML http www w org XML ?? the W C's XML page ? http www ucc ie xml ?? the o ?cial XML FAQ ? http www xml com axml testaxml htm ?? the annotated XML speci ?cation ? http www oasis- open org cover xml html ?? the XML Cover pages The following list of terms is by no means exhaustive and the de ?nitions are in some cases incomplete XML XML document XML Declaration XML stands for eXtensible Markup Language and it is a standard for structured text documents developed by the World Wide Web Consortium http www w org W C The W C represents about paying member companies and is responsible for many of the standards relating to the internet including HTML XML can be used to structure text in such a way that it is readable by both humans and machines and it presents a simple format for the exchange of information across the internet between computers As such electronic commerce is the principal application area for XML XML is a simpli ?cation or subset of the Standard Generalized Markup Language SGML which was developed in the s for the large- scale storage of structured text documents An XML document contains a prolog and a body The prolog consists of an XML declaration possibly followed by a document type declaration The body is made up of a single root element possibly with some comments and or processing instructions An XML document is typically a computer ?le whose contents meet the requirements laid out in the XML speci ?cation However XML documents may also be generated on the y by a computer responding to a request from another computer For instance an XML document may be dynamically compiled from information contained in a database The ?rst few characters of an XML document must make up an XML declaration The declaration is used by the processing software to work out how to deal with the subsequent XML content A typical XML declaration is shown below The encoding of a document is particularly important as XML processors will default to UTF- when reading an -bit-per-character document This will cause characters to be rendered incorrectly if the document uses Latin encoding iso- - XML processing applications are required CA Quick Introduction to XML Document Type Declaration Start End Tag Element Attribute Empty Element Document Type De ?nition to handle -bit-per-character documents in the Unicode encoding which makes XML a truly international format able to handle most modern languages version encod- ing iso- - A document
Documents similaires
-
72
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Mai 17, 2022
- Catégorie Administration
- Langue French
- Taille du fichier 35.3kB