Grammatical and structural fixes (#20728)
This commit is contained in:
committed by
Niraj Nandish
parent
4732932851
commit
cb5ef67237
@ -3,7 +3,7 @@ title: 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 HTML, in XML there is no predefined set of tags 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 the data. Unlike in HTML, there is no predefined set of tags in XML and tags specify meaning, rather than the presentation.
|
||||
|
||||
## 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.
|
||||
@ -17,7 +17,7 @@ title: Extensible Markup Language (XML)
|
||||
</root>
|
||||
```
|
||||
#### XML must have a root element
|
||||
Above syntax shows the root element which is necessary while creating an XML code. This can be shown by the example:-
|
||||
The above syntax shows the root element which is necessary while writing XML code. This is shown in the following example:-
|
||||
```
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<note>
|
||||
@ -27,7 +27,7 @@ Above syntax shows the root element which is necessary while creating an XML cod
|
||||
<body>Don't forget me this weekend!</body>
|
||||
</note>
|
||||
```
|
||||
In this example 'note' is the root element.
|
||||
In this example, 'note' is the root element.
|
||||
|
||||
|
||||
* Advantages of using XML:
|
||||
@ -42,17 +42,17 @@ In this example 'note' is the root element.
|
||||
|
||||
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.
|
||||
|
||||
There is a main thing between XML and HTML which makes them different from each other. It is that XML was designed to carry a particular information and focuses on that informaion only. And 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 uses a predefined tags as used by HTML. It uses user defined tags.
|
||||
Also, XML does not use predefined tags like HTML does. It uses user-defined tags.
|
||||
|
||||
The following are areas that can be simiplified with XML:
|
||||
1. data sharing
|
||||
2. data transport
|
||||
3. platform changes
|
||||
4. data availability
|
||||
XML brings the following simplifications :
|
||||
1. It simplifies data sharing.
|
||||
2. It simplifies data transport.
|
||||
3. It simplifies platform changes.
|
||||
4. It simplifies data availability.
|
||||
|
||||
And it's main achievement was that it became a W3C Recommendation as early as in February 1998.
|
||||
And its main achievement is that it became a W3C Recommendation as early as February 1998.
|
||||
|
||||
### More information
|
||||
|
||||
|
Reference in New Issue
Block a user