<?xml version="1.0"?>
<Class>
<Name>First</Name>
<Sections>
<Section>
<Name>A</Name>
<Students>
<Student>Rohan</Student>
<Student>Mohan</Student>
<Student>Sohan</Student>
<Student>Lalit</Student>
<Student>Vinay</Student>
</Students>
</Section>
<Section>
<Name>B</Name>
<Students>
<Student>Robert</Student>
<Student>Julie</Student>
<Student>Kalie</Student>
<Student>Michael</Student>
</Students>
</Section>
</Sections>
</Class>
itu adalah contoh dari xml, dimana xml itu dapat menampilkan data berupa tabel. selain juga dapat melalui sql.
Advantages
Following are the advantages that XML provides:
Technology agnostic - Being plain text, XML is technology independent. It can be used by any technology for data storage and transmission purpose.
Human readable- XML uses simple text format. It is human readable and understandable.
Extensible - in XML, custom tags can be created and used very easily.
Allow Validation - Using XSD, DTD and XML structure can be validated easily.
0 komentar:
Posting Komentar