Suppose we want to store information regarding in Prescribed format in XML. For example.
CODING:
<?xml version="1.0" encoding="UTF-8"?>
<EmployeeDB>
<employee>
<id>
E101
</id>
<name>
Pepper Potts
</name>
<department>
Contribution
</department>
<role>
Editor
</role>
</employee>
<employee>
<id>
E102
</id>
<name>
Rhodey Rhodes
</name>
<department>
Contribution
</department>
<role>
Editor
</role>
</employee>
<employee>
<id>
E103
</id>
<name>
Tony Stark
</name>
<department>
Adminstration
</department>
<role>
Admin
</role>
</employee>
</EmployeeDB>
CODING:
<?xml version="1.0" encoding="UTF-8"?>
<EmployeeDB>
<employee>
<id>
E101
</id>
<name>
Pepper Potts
</name>
<department>
Contribution
</department>
<role>
Editor
</role>
</employee>
<employee>
<id>
E102
</id>
<name>
Rhodey Rhodes
</name>
<department>
Contribution
</department>
<role>
Editor
</role>
</employee>
<employee>
<id>
E103
</id>
<name>
Tony Stark
</name>
<department>
Adminstration
</department>
<role>
Admin
</role>
</employee>
</EmployeeDB>
Comments
Post a Comment