Intoduction To XML

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
  1. <root>  
  2.   <child>  
  3.     <subchild>.....</subchild>  
  4.   </child>  
  5. </root>   
Example
  1. <student>  
  2. <regno>  101  </regno>  
  3. <name>  
  4. <firstname> Alex  </firstname>  
  5. <lastname>  </lastname>  
  6. </name>  
  7. </student> 
While defining an XML element name, the characters given below are not used, then the element name is the best name

s.no

Character

1

.

2

:

3

-

 
Summary

This blog is used to learn how to create XML with the best element names.
Ebook Download
View all
Learn
View all