XML (Extensible Markup Language)
XML is not a database, but it is used to store large amounts of unstructured data. Any type of application can easily access XML files. XML is preferred for the reasons given below.
- Large data.
- Unstructured data.
- Access through different kinds of Application.
- Easy sharing.
- Easy way of creation.
Syntax
- <root>
- <child>
- <subchild>.....</subchild>
- </child>
- </root>
Example
- <student>
- <regno> 101 </regno>
- <name>
- <firstname> Alex </firstname>
- <lastname> P </lastname>
- </name>
- </student>
While defining an XML element name, the characters given below are not used, then the element name is the best name
Summary
This blog is used to learn how to create XML with the best element names.