html5-img
1 / 11

XML

XML. Tools for working with XML. Tools for Working with XML. WINDOWS tools Notepad (comes with windows) Visual Web Developer (Express edition) –http://www.microsoft/com/express/vwd Microsoft Expression Web – http://www.microsoft.com/expression

chika
Télécharger la présentation

XML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML Tools for working with XML

  2. Tools for Working with XML • WINDOWS tools • Notepad (comes with windows) • Visual Web Developer (Express edition) –http://www.microsoft/com/express/vwd • Microsoft Expression Web – http://www.microsoft.com/expression • Adobe Dreamweaver – http://www.adobe.com/products/dreamweaver

  3. Tools for Working with XML • MACINTOSH tools • Bbedit – http://www.bbedit.com/ • textMate – http://macromates.com/ • WebScripter – http://web-scripter.com • Adobe Dreamweaver – http://www.adobe.com/products/dreamweaver/

  4. Introduction to XML • XML was designed to transport and store data. • HTML was designed to display data.

  5. Introduction to XML • What You Should Already Know • Before you continue you should have a basic understanding of the following: • HTML • JavaScript

  6. Introduction to XML • What is XML? • XML stands for EXtensible Markup Language • XML is a markup language (tag-based) much like HTML • XML was designed to carry data, not to display data • XML tags are not predefined. You must define your own tags • XML is designed to be self-descriptive • XML is a W3C Recommendation

  7. Introduction to XML • What are XML’s benefits? • Separate content from presentation • Create tag sets that target specific problems • Store information in human-readable format • Exchange data among disparate system (i.e web services) • Open format can be processed by any XML-aware program

  8. Introduction to XML • What are some drawbacks of XML? • Not good for storing large amounts of data • Performance can be slower than other methods of storing and retreiving data • Might not be the best format for representing certain data types, like images and other binary data.

  9. Introduction to XML • The Difference Between XML and HTML • XML is not a replacement for HTML. • XML and HTML were designed with different goals: • XML was designed to transport and store data, with focus on what data is. • HTML was designed to display data, with focus on how data looks. • HTML is about displaying information, while XML is about carrying information.

  10. Introduction to XML • XML documents must be “well-formed” • Always have a single root tag • Tags must be properly nested, empty tags always end with /> • Attributes values must be inside quotes, cannot be minimized. • XML documents can be “valid”

  11. Introduction to XML • Sample XML File <BusinessCard> <name>Virgo Armachuelo</name> <phone type=“mobile”>(415)222</phone> <phone type=“work”>(800)111</phone> <phone type=“faxt”>(510)444</phone> <email>virgo@yahoo.com</email> </BusinessCard>

More Related