Wednesday, October 20, 2010

designing XML

Hello there….back again with today’s assignment of Extensible Markup Language(XML)...
XML  was designated to describe data and focus on what data is. It is much similar to HTML actually but is definitely not a replacement of HTML.
Goals of XML:
-to transport and store data, with focus on what data is
-to display data with focus on how data looks
Comparison between HTML and XML:
HTML is about displaying information while XML is about carrying information..


XML tree

XML documentation
<?xml version="1.0" encoding="ISO-8859-1">
<university>
<faculty category="MEDICINE">
<department>Pathology</department>
<students>32 students</students>
<staff>40 staffs</staff>
<location>HTTA</location>
</faculty>
<faculty category="SCIENCE">
<department>Bio Medicine</department>
<students>100 students</students>
<staff>50 staffs</staff>
<location>Gombak</location>
</faculty>
</university>


XML table
FacultyMEDICINESCIENCE
DepartmentPathologyBio Medicine
Students32 students100 students
Staff40 staffs50 staffs
LocationHTTAGombak

For more information about XML, check out its wikipedia HERE...

Thats all for today I guess, my last class of kos1110...:)
Till then,
signing out for now...heee..

No comments:

Post a Comment