ThePlace

Home ] Search ] Resources ] Site Map ] Contact Me ]
Dave's Information Technology Resource

Up ]

[ What is XML ] Viewing XML ] XML Syntax ] Creating XML ] XML and CSS ] XML and DTD ] XML, XSL, and HTML ] The XML DOM ]

--- What is XML ---

What is XML?

bulletXML = EXtensible Markup Language
bulletXML is not a programming language like Java or C.
bulletIt is a markup language much like HTML with origins in SGML.
bulletLike HTML, XML requires a "user agent" to properly retrieve and process XML documents.
bulletIt is completely text based.
bulletIt was designed to describe and store data.
bulletXML tags are not predefined in XML - they are defined by the user making XML - self-describing.
bulletLike SGML, XML can use a DTD (= Document Type Definition) to formally describe the data.

HTML v. XML 

bulletXML is not a replacement for HTML.
bulletXML and HTML were designed with different goals:
bulletXML was designed to describe data and to focus on what data is.
bulletHTML was designed to display data and to focus on how data looks.
bulletHTML is about displaying information, XML is about describing information.
bulletXML is extensible...
bulletThe tags used to markup HTML documents and the structure of HTML documents are predefined
bulletThe author of HTML documents can only use tags that are defined in the HTML standard.
bulletXML allows the author to define his own tags and his own document structure.
bulletXML is a complement to HTML
bulletMost experts agree that the future development of the Web will most likely focus on XML being used to structure and describe the web data...
bulletWhile HTML will be used to format and display that data.
bulletXML in the future of the Web
bulletThe HTML community has been participating in XML development since its creation. 
bulletThe XML standard has been developed quickly, and a large number of software vendors have adopted the standard.

How can XML be used?

XML can...

bulletKeep data separated from your HTML
bulletBe used to store data inside HTML documents
bulletBe used as a format to exchange information
bulletBe used to store data in files or in databases

XML can keep data separated from HTML

bulletHTML pages are used to display data. 
bulletData is often stored inside HTML pages. 
bullet With XML this data can now be stored in a separate XML file. 
bulletWith XML, you concentrate on using HTML for formatting and display, knowing that changes in the underlying data will not force changes to any of your HTML code.

XML can also store data inside HTML documents

bulletXML data can also be stored inside HTML pages as "Data Islands". 
bulletTherefore, you can focus on using HTML for formatting and displaying the data

XML can be used to exchange data

bulletIn the business and information world, computer systems and databases contain data in incompatible formats
bulletOne of the most time-consuming challenges for developers has been to exchange data between such systems over the Internet and various networks. 
bullet Converting the data to XML can greatly reduce this complexity and create data that can be read by different types of applications.

XML can be used to store data

bulletXML can also be used to store, exchange, import and export data in files or in databases
bulletApplications can be written to store and retrieve information from the store, and generic applications can be used to display the data.

 

 

Home ] Up ] Computer Architecture ] Programming Bootcamp ] Database Bootcamp ] Visual BasicS ] Web Basics ] Web Multimedia ] Web Programming ] Advanced Web Topics ] Developing Web Sites ] Web Glossary ]

Copyright © 1999 - 2005 
ThePlace - Written and Sponsored by Dave Hillman