XML
Asalamualaikum everyone! Today we would like to share what we had learn on computer in science class just now. A new topic and interesting which is XML. XML stand for Extensible Markup Language and was design to describe data. XML also a software-hardware independent tools for carrying information.Three types of XML
- XML document
- XML tree
- XML table
XML document
Example of information or data stored as xml called xml documents:<note>
<to>Flor</to>
<from>Janea</from>
<heading>PS</heading>
<body>I've seen suspicious movement from Black Brigade Group</body>
XML is usually used in many aspect of web development and simplify data storage and sharing
XML tree
XML documents have a hierarchical structure and can conceptually be interpreted as a tree structure called an XML tree. Xml documents must contain a root elements ( one that is the parent of all other elements). All elementss in an XML document can contain sub elements, text and attributes.
Rules for Naming Elements
- Names can contain letters, numbers, and other characters
- Names cannot start with a number
- Names cannot start with the letters like letters xml, XML or etc.
COMPARISON BETWEEN HTML AND XML
HTML | XML | |
COMPARISON |
|
|
Tidak ada komentar:
Posting Komentar