SlideShare a Scribd company logo
XML Introduction
What is XML? XML stands for E X tensible  M arkup  L anguage  XML is a  markup language  much like HTML More accurately defined as a  metalanguage   XML was designed to  describe data
What is XML? XML tags are not predefined. You  define your own tags  depending on the application XML uses a  Document Type Definition  (DTD) or an  XML Schema  to describe the data  XML with a DTD or XML Schema is designed to be  self-descriptive   XML is a W3C Recommendation - 1998
Difference Between XML and HTML XML was designed to carry data. XML is not a replacement for HTML. XML and HTML were designed with different goals: XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks. HTML is about  displaying  information, while XML is about  describing  information.
XML Does Not DO Anything XML was not designed to DO anything. XML was created to structure, store and to send information.
More XML XML is free and extensible XML tags are not predefined. You must &quot;invent&quot; your own tags. The tags used to mark up HTML documents and the structure of HTML documents are predefined.  XML allows the author to define their own tags and their own document structure. The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are &quot;invented&quot; by the author of the XML document.
XML is a Complement to HTML It is important to understand that XML is not a replacement for HTML. In future Web development it is most likely that XML will be used to describe the data, while HTML will be used to format and display the same data. XML is a cross-platform, software and hardware independent tool for transmitting information.
XML Can Separate Data from HTML With XML, your data is stored outside your HTML. When HTML is used to display data, the data is stored inside your HTML.  With XML, data can be stored in separate XML files. This way you can concentrate on using HTML for data layout and display, and be sure that changes in the underlying data will not require any changes to your HTML.
XML is Used to Exchange Data With XML, data can be exchanged between incompatible systems. Computer systems and databases contain data in incompatible formats. One of the most time-consuming challenges for developers has been to exchange data between such systems over the Internet. Converting the data to XML can greatly reduce this complexity and create data that can be read by many different types of applications.
XML Can Be Used to Share Data Since XML data is stored in plain text format, XML provides a software- and hardware-independent way of sharing data. This makes it much easier to create data that different applications can work with. It also makes it easier to expand or upgrade a system to new operating systems, servers, applications, and new browsers. 
XML Can Be Used to Store Data With XML, plain text files can be used to store data. XML can also be used to store data in files or in databases. Applications can be written to store and retrieve information from the store, and generic applications can be used to display the data.
XML Can Make Data More Useful With XML, your data is available to more users. Since XML is independent of hardware, software and application, you can make your data available to other than only standard HTML browsers. Other clients and applications can access your XML files as data sources, like they are accessing databases. Your data can be made available to all kinds of &quot;reading machines&quot; (agents).
Editors XML files can be edited using any text editor: Windows:  Notepad, NotePad++, EditPad Lite, etc Mac OS:  Text Wrangler, BBEdit, TextMate Linux:  Emacs, VIM, Pico, etc.
Viewing XML Files in a Web Browser XML documents can be opened in Internet Explorer or in Firefox.  If there are no syntax errors: IE and Firefox will display the document’s contents in an expandable/collapsible outline format including all markup tags.
Style Sheets & XML There are two main style sheet languages used with XML: Cascading Style Sheets (CSS) and Extensible Style Sheets (XSL) The important benefits to using style sheets are the same as using them with XHTML docs.
A sample XML document <?xml version=&quot;1.0&quot; encoding=“UTF-8&quot;?>  <customers> <name>Fred Flintstone</name> <street>123 Main St.</street>  <city>Lansing</city> <state>MI</state> <zip>48901</zip> <phone>517-123-4567</phone> </customers>
the end

More Related Content

PPTX
Xml ppt
PDF
Xml tutorial
 
PDF
XML Introduction

What's hot (20)

PPTX
Basic xml syntax
PPT
Introduction to XML
PPTX
XML-Extensible Markup Language
PPTX
Introduction to xml
PPTX
Extensible Markup Language (XML)
PPTX
Basic XML
PPTX
XML | Computer Science
PPT
Xml 215-presentation
PPT
Introduction to XML
PPTX
Intro xml
PPT
Introduction to XML
PPT
10. XML in DBMS
PPT
Xml Java
PPTX
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
PPTX
PDF
SQL Server - Querying and Managing XML Data
PPT
Xml Presentation-3
ODP
Basic xml syntax
Introduction to XML
XML-Extensible Markup Language
Introduction to xml
Extensible Markup Language (XML)
Basic XML
XML | Computer Science
Xml 215-presentation
Introduction to XML
Intro xml
Introduction to XML
10. XML in DBMS
Xml Java
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
SQL Server - Querying and Managing XML Data
Xml Presentation-3
Ad

Similar to 01 Xml Begin (20)

PPT
Introduction to XML
PPT
Xml description
PDF
Introduction to xml
PPT
Xml iet 2015
DOCX
Xml material
DOCX
Xml material
DOCX
Xml material
PPTX
Week1 xml
PDF
XML Bible
DOCX
Xml 150323102007-conversion-gate01
PDF
XML-INTRODUCTION.pdf
DOCX
Introduction to xml
PDF
xml2cdvcx vnbm,azsdfghjkml;sxdfcgmndxfcgvhb nmfctgvbhjnm ,cfgvb nm,xc vb.pdf
PDF
Xml overview
PPT
working with internet technologies using XML
DOCX
XML DTD Validate
PPTX
PPTX
PPTX
BITM3730 10-31.pptx
Introduction to XML
Xml description
Introduction to xml
Xml iet 2015
Xml material
Xml material
Xml material
Week1 xml
XML Bible
Xml 150323102007-conversion-gate01
XML-INTRODUCTION.pdf
Introduction to xml
xml2cdvcx vnbm,azsdfghjkml;sxdfcgmndxfcgvhb nmfctgvbhjnm ,cfgvb nm,xc vb.pdf
Xml overview
working with internet technologies using XML
XML DTD Validate
BITM3730 10-31.pptx
Ad

Recently uploaded (20)

PDF
LDMMIA Reiki Yoga Workshop 15 MidTerm Review
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
How to Manage Bill Control Policy in Odoo 18
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Congenital Hypothyroidism pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PPTX
Software Engineering BSC DS UNIT 1 .pptx
PDF
Sunset Boulevard Student Revision Booklet
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
PDF
High Ground Student Revision Booklet Preview
PDF
Landforms and landscapes data surprise preview
LDMMIA Reiki Yoga Workshop 15 MidTerm Review
O7-L3 Supply Chain Operations - ICLT Program
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
Revamp in MTO Odoo 18 Inventory - Odoo Slides
How to Manage Bill Control Policy in Odoo 18
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Congenital Hypothyroidism pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
Software Engineering BSC DS UNIT 1 .pptx
Sunset Boulevard Student Revision Booklet
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
NOI Hackathon - Summer Edition - GreenThumber.pptx
High Ground Student Revision Booklet Preview
Landforms and landscapes data surprise preview

01 Xml Begin

  • 2. What is XML? XML stands for E X tensible M arkup L anguage XML is a markup language much like HTML More accurately defined as a metalanguage XML was designed to describe data
  • 3. What is XML? XML tags are not predefined. You define your own tags depending on the application XML uses a Document Type Definition (DTD) or an XML Schema to describe the data XML with a DTD or XML Schema is designed to be self-descriptive XML is a W3C Recommendation - 1998
  • 4. Difference Between XML and HTML XML was designed to carry data. XML is not a replacement for HTML. XML and HTML were designed with different goals: XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks. HTML is about displaying information, while XML is about describing information.
  • 5. XML Does Not DO Anything XML was not designed to DO anything. XML was created to structure, store and to send information.
  • 6. More XML XML is free and extensible XML tags are not predefined. You must &quot;invent&quot; your own tags. The tags used to mark up HTML documents and the structure of HTML documents are predefined. XML allows the author to define their own tags and their own document structure. The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are &quot;invented&quot; by the author of the XML document.
  • 7. XML is a Complement to HTML It is important to understand that XML is not a replacement for HTML. In future Web development it is most likely that XML will be used to describe the data, while HTML will be used to format and display the same data. XML is a cross-platform, software and hardware independent tool for transmitting information.
  • 8. XML Can Separate Data from HTML With XML, your data is stored outside your HTML. When HTML is used to display data, the data is stored inside your HTML. With XML, data can be stored in separate XML files. This way you can concentrate on using HTML for data layout and display, and be sure that changes in the underlying data will not require any changes to your HTML.
  • 9. XML is Used to Exchange Data With XML, data can be exchanged between incompatible systems. Computer systems and databases contain data in incompatible formats. One of the most time-consuming challenges for developers has been to exchange data between such systems over the Internet. Converting the data to XML can greatly reduce this complexity and create data that can be read by many different types of applications.
  • 10. XML Can Be Used to Share Data Since XML data is stored in plain text format, XML provides a software- and hardware-independent way of sharing data. This makes it much easier to create data that different applications can work with. It also makes it easier to expand or upgrade a system to new operating systems, servers, applications, and new browsers. 
  • 11. XML Can Be Used to Store Data With XML, plain text files can be used to store data. XML can also be used to store data in files or in databases. Applications can be written to store and retrieve information from the store, and generic applications can be used to display the data.
  • 12. XML Can Make Data More Useful With XML, your data is available to more users. Since XML is independent of hardware, software and application, you can make your data available to other than only standard HTML browsers. Other clients and applications can access your XML files as data sources, like they are accessing databases. Your data can be made available to all kinds of &quot;reading machines&quot; (agents).
  • 13. Editors XML files can be edited using any text editor: Windows: Notepad, NotePad++, EditPad Lite, etc Mac OS: Text Wrangler, BBEdit, TextMate Linux: Emacs, VIM, Pico, etc.
  • 14. Viewing XML Files in a Web Browser XML documents can be opened in Internet Explorer or in Firefox. If there are no syntax errors: IE and Firefox will display the document’s contents in an expandable/collapsible outline format including all markup tags.
  • 15. Style Sheets & XML There are two main style sheet languages used with XML: Cascading Style Sheets (CSS) and Extensible Style Sheets (XSL) The important benefits to using style sheets are the same as using them with XHTML docs.
  • 16. A sample XML document <?xml version=&quot;1.0&quot; encoding=“UTF-8&quot;?> <customers> <name>Fred Flintstone</name> <street>123 Main St.</street> <city>Lansing</city> <state>MI</state> <zip>48901</zip> <phone>517-123-4567</phone> </customers>