grammar and content edits for clarity (#20738)
This commit is contained in:
@ -3,10 +3,11 @@ title: Extensible Markup Language (XML)
|
|||||||
---
|
---
|
||||||
## Extensible Markup Language (XML)
|
## Extensible Markup Language (XML)
|
||||||
|
|
||||||
XML stands for eXtensible Markup Language. It is extensible, because it does not use a predefined set of tags for identifying structural components; instead, it provides a mechanism for defining such sets of tags. The main purpose of the language is to share the data. Unlike in HTML, there is no predefined set of tags in XML and tags specify meaning, rather than the presentation.
|
XML stands for eXtensible Markup Language. It is extensible, because it does not use a predefined set of tags for identifying structural components. Instead, it provides a mechanism for defining such sets of tags. The main purpose of the language is to share data. Unlike HTML, in XML there is no predefined set of tags and tags specify meaning, rather than the presentation.
|
||||||
|
|
||||||
## Syntax of XML
|
## Syntax of XML
|
||||||
XML syntax refers to the rules that determine how an XML application can be written. The XML syntax is very straight forward, and this makes XML very easy to learn.
|
XML syntax refers to the rules that determine how an XML application can be written. XML syntax is very straight forward, and this makes XML very easy to learn.
|
||||||
|
|
||||||
XML documents must contain one root element that is the parent of all other elements:
|
XML documents must contain one root element that is the parent of all other elements:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -40,19 +41,19 @@ In this example, 'note' is the root element.
|
|||||||
* Verbose and cumbersome syntax
|
* Verbose and cumbersome syntax
|
||||||
* Highly inefficient storage
|
* Highly inefficient storage
|
||||||
|
|
||||||
In Computer Language, eXtensible Markup Language(XML) is that which defines a set or block of Rules which are later used for Encoding documents in such a Format which is both Machine and Human Readable.
|
In Computer Language, eXtensible Markup Language(XML) is that which defines a set or block of Rules which are later used for Encoding documents in such a format that is both human and machine readable.
|
||||||
|
|
||||||
There is a main difference between XML and HTML; XML was designed to carry a particular information and focuses on that informaion only, while HTML focuses on displaying that particular information like design and all these stuff regarding the information.
|
There is a main difference between XML and HTML; XML was designed to carry a particular information and focuses on that informaion only, while HTML focuses on displaying that particular information like design and all these stuff regarding the information.
|
||||||
|
|
||||||
Also, XML does not use predefined tags like HTML does. It uses user-defined tags.
|
XML does not uses a predefined tags as used by HTML. It uses user defined tags.
|
||||||
|
|
||||||
XML brings the following simplifications :
|
XML helps simplify:
|
||||||
1. It simplifies data sharing.
|
1. data sharing
|
||||||
2. It simplifies data transport.
|
2. data transport
|
||||||
3. It simplifies platform changes.
|
3. platform changes
|
||||||
4. It simplifies data availability.
|
4. data availability
|
||||||
|
|
||||||
And its main achievement is that it became a W3C Recommendation as early as February 1998.
|
It became a W3C Recommendation as early as in February 1998!
|
||||||
|
|
||||||
### More information
|
### More information
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user