XML is fun!!!

XML tree




XML documentation of this following data
university
faculty medicine science
deparment patology Bio medicine
student 32 students 100 students
staff 40 staffs 50 staffs
location HTAA Gombak

 






XML coding for the above diagram 


<?xml version="1.0"?>
<university>
<faculty category="medicine">
<department>patology</department>
<student>32 students</student>
<staff>40 staffs</staff>
<location>HTAA</location>
</faculty>

<faculty category="science">
<department>Bio medicine</department>
<student>100 students</student>
<staff>40 staffs</staff>
<location>Gombak</location>
</faculty>
</university>



Learn more about xml here . Clink link below

Link 1
Link 2xml.com

0 comments:

Post a Comment