90 likes | 211 Vues
XML (eXtensible Markup Language) is a standard markup language designed to store and transport data. Developed by W3C member companies, it combines 80% of SGML's functionality while reducing complexity by 20%. Unlike HTML, XML allows for the definition of new tags and focuses on the semantic structure of data, making it suitable for both documents and messages. It provides protocol and platform independence, facilitating communication between diverse systems. However, it is not a fix for flawed processes or a replacement for traditional databases.
E N D
XML Overview Andy Clark 17 Apr 2002
What is XML? • Standard “markup” language for information • SGML with 80% functionality but 20% complexity • Designed by W3C member companies • Extensible • Can be used for both documents and messages • Unlike HTML, new “tags” can be defined • International • Based on Unicode character set
What XML is Not! • A panacea for broken applications and business processes • Business partners still need to agree on how to communicate • A replacement for traditional relational database systems • Nor does XML require object-oriented databases • A passing fad
HTML But Better… • HTML • Defines “visual” document layout • Paragraphs, images, etc… • Browsers allow liberal use (and abuse) • XML • Defines semantic structure for data • Music collection, financial transaction, etc… • Strict definition for document syntax
An Example in HTML <table border=‘1’> <tr style=‘background:black;color:white’> <th>Item <th>Price </tr> <tr valign=‘top’ style=‘background:silver’> <td>BK123 - <u>Care and Feeding of Wombats</u> <td>$42.00 </tr> </table>
The Same Thing in XML <order> <item code=‘BK123’> <name>Care and Feeding of Wombats</name> <price currency=‘USD’>42.00</price> </item> </order> - <order> - <item code="BK123"> <name>Care and Feeding of Wombats</name> <price currency="USD">42.00</price> </item> </order>
The Business Connection • Protocol independence • Eases intra-business communication • Allows information interchange with partners • Platform independence • Bridges legacy systems to new applications • Open standard • Freedom from data control (e.g. EDI) • Everyone “speaks” the same language
The “Big” Picture: An Example XML XML XML
XML Overview Andy Clark