You are here

What is XML?

XML stands for “Extensible Markup Language” and is a text file having information according to a given structure. It is a meta-language for defining markup languages ​​for the representation of information to be exchanged over the Internet.

XML is the successor to SGML (standard generalized markup language) and HTML (Hypertext markup language) for representing semi-structured documents.

Example of XML:

<?xml version=1.0″ standalone=”yes” ?>

– <Site Name=”whatwhenwhowhy” URL=””>










Why XML?

  • It is a standard which is known internationally
  • It does not belong to any company and is available for all
  • It enables effective use of Internet for different terminals.

Advantages of XML:

  • Easily processable
  • Radically separates the content and presentation format
  • Designed for any language and alphabet. (Encoding)

Characteristics of XML:

  • XML is a subset of SGML that incorporates the three most important characteristics of this:
  • Extensibility
  • Structure
  • Validation
  • Text-based.
  • Not content oriented presentation.
  • The labels are defined to create documents, do not have a predetermined meaning.
  • It is not a substitute for HTML.
  • There is no generic XML viewer.
  • Components of an XML document

In an XML document below are the following seen:

  1. Elements: logic part marking, is represented by a text string (data) enclosed labels. There may be empty elements (<br/>).
  2. Instructions: The instructions in XML starts with <? And they end up?>.
  3. Comments: Information that is not part of the document. They start with <! – And end by ->.
  4. Type declarations: It Specifies information about the document: <! DOCTYPE SYSTEM person “persona.dtd”>
  5. CDATA Sections: This is a character set that cannot be interpreted by the processor: <! [CDATA [Here you can put any character, such as <, &,>, … without being interpreted as marking]]>
  6. Men det er mange andre måter å satse på Nettrulett for ekte penger

Leave a Reply