XML PART 03 Elements with definition and examples , how to use elements in xml for web designing
XML ELEMENTS
each
album in xml is called element
with command element
eg- name , artist, year in this video
Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format which is both human-readable and machine-readable. It is defined by the
W3C's XML
1.0 Specification[
2] and by several other related specifications,[3] all of which are free open standards.[4]
The design goals of XML emphasize simplicity, generality and usability across the
Internet.[5] It is a textual data format with strong support via
Unicode for different human languages. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures[6] such as those used in web services.
Several schema systems exist to aid in the definition of XML-based languages, while many application programming interfaces (
APIs) have been developed to aid the processing of XML data.
Applications of XML[edit]
As of 2009, hundreds of document formats using XML syntax have been developed,[7] including
RSS,
Atom,
SOAP, and
XHTML. XML-based formats have become the default for many office-productivity tools, including
Microsoft Office (
Office Open XML), OpenOffice.org and LibreOffice (OpenDocument), and
Apple's iWork. XML has also been employed as the base language for communication protocols, such as
XMPP. Applications for the
Microsoft .NET Framework use XML files for configuration. Apple has an implementation of a registry based on XML.[8]
XML has come into common use for the interchange of data over the Internet.
IETF RFC 7303 gives rules for the construction of Internet
Media Types for use when sending XML. It also defines the media types application/xml and text/xml, which say only that the data is in XML, and nothing about its semantics. The use of text/xml has been criticized as a potential source of encoding problems and it has been suggested that it should be deprecated.[9]
RFC 7303 also recommends that XML-based languages be given media types ending in +xml; for example image/svg+xml for
SVG.
Further guidelines for the use of XML in a networked context may be found in RFC 3470, also known as
IETF BCP 70, a document covering many aspects of designing and deploying an XML-based language.
Characters and escaping[edit]
XML documents consist entirely of characters from the Unicode repertoire.
Except for a small number of specifically excluded control characters, any character defined by Unicode may appear within the content of an
XML document.
XML includes facilities for identifying the encoding of the
Unicode characters that make up the document, and for expressing characters that, for one reason or another, cannot be used directly.
Encoding detection[edit]
The
Unicode character set can be encoded into bytes for storage or transmission in a variety of different ways, called "encodings". Unicode itself defines encodings that cover the entire repertoire; well-known ones include
UTF-8 and
UTF-16.[12] There are many other text encodings that predate Unicode, such as
ASCII and
ISO/
IEC 8859; their character repertoires in almost every case are subsets of the Unicode character set.
XML allows the use of any of the Unicode-defined encodings, and any other encodings whose characters also appear in Unicode. XML also provides a mechanism whereby an XML processor can reliably, without any prior knowledge, determine which encoding is being used. Encodings other than UTF-8 and UTF-16 will not necessarily be recognized by every
XML parser.
https://en.wikipedia.org/wiki/XML