SlideShare a Scribd company logo
1 of 17
XML FOR DUMMIES

Book author: Lucinda Dykes and Ed Tittle
Part 1 : XML Basics
Lecture 1 : Getting to know XML
http://it-slideshares.blogspot.com
Contents

         1       Introducing XML



        2        Examining the many uses of XML



        3       Deciphering what is XML and what XML isn’t



        4        Building an XML document




http://it-slideshares.blogspot.com
1. Introducing XML
    XML   is markup language.
    XML isn’t limited to a particular set of markup.
    The flexibility of XML has led to its wide-spread use for
     exchanging data in a multitude of forms.
    With XML, you can send the same information to
     various locations.
    You can customize the informtion sent out so it’s
     displayed appropriately on the various devices.
    Getting started with XML isn’t difficult.




http://it-slideshares.blogspot.com
2.Examining the many uses of
    Mocking up your own markup :
                  XML.
     ● XML is derived from the “mother of all markup
      language”.
        ● XML has no predefined tags, you can create your
      own XML.
        ● You can design your own custom markup language
      but you must to keep rules about the syntax of an XML
      document.
        ●XHTML is yet another markup language: designed as
      a transition language between XML and HTML.




http://it-slideshares.blogspot.com
Examining the many uses of XML(cont..)
      Separating data and context :
         ●XML automatically separates data from context.
         ●XML document no instructions about how to display the
       content contained in the document. It only defines the structure of
       document. You can then add styles.
         ●The same style sheet is used with more than one document.
         ●XML can be combined with both two different types of
       stylesheets : CSS and XSLT for extra versatility.




http://it-slideshares.blogspot.com
   Making information portable :
Examining the many uses of ML(cont..)
           ● XML is all about managing your data.
               ○XML enables you to colect information once and
                     reuse it in a variety of ways.
               ○XML data is not limited to one application format.
               ○Making information portable does require
        planning             and design before the information is
        collected.


       XML mean business.
          ●XML provides an easy way for businesses to manage
        and share information.




 http://it-slideshares.blogspot.com
3. Deciphering what is XML and what XML isn’t.
        3.1 Figuring out what XML is good for
         Classifying information
               ●One of the most useful function of XML involves classifying
          information.
                ●Example: Book can be classified in many ways, but we kind of like
          the following classification sheme:
                    ◦ Tile
                    ◦ Author
                    ◦ Publisher
                    ◦ Price
                    ◦ Content Type(Fiction, Nonfiction)
                    ◦ Format(Paperback, hardback)
                    ◦ ISBN




    http://it-slideshares.blogspot.com
3.1 Figuring out what XML is good for
         Classifying information
             ●Using XML, you can create tags to classify this information. The following code
          shows a possible XML format for one book:


           <book>
                 <title>Night Fall</title>
                 <author>Demille, Nelson</author>
                 <publisher>Warner</publisher>
                 <price>$26.95</price>
                 <contentType>Fiction</contentType>
                 <format>Hardback</format>
                 <isbn>0446576638</isbn>
           </book>
             ●Giving your tags meaningful name that actually reflect the content makes it
          easier to work with the information.
             ●Classifying the information as shown here makes possible for you to search for
          and retrieve any item with ease.




   http://it-slideshares.blogspot.com
Figuring out what XML is good for(cont..)
         Enforcing rules on your data.
              ●XML excels at allowing you to create rules for the format of your          data.Using
          either Document Type Definitions(DTDs) or XML Scheme to             validate your data gives
          you two immediate advantages.
                     ◦ It help ensure accuracy of information you collect .
                     ◦ It helps ensure that the information gathered is in the most
          usable format for your business needs.

             ●Taking another look at the XML we came up with in the previous              section for
          your imaginary book business, you can see several items              for which you might
          want to include rules to govern how the data is          formatted, such as:
                      ◦ A currency format for the price
                       ◦ A number format for the ISBN
                       ◦ A restricted selection for content type (Fiction or Nonfiction)
                       ◦ A restricted selection for format (Paperback or Hardback)




   http://it-slideshares.blogspot.com
Figuring out what XML is good for(cont..)
         Outputting information in a variety of ways
             ●The great thing about XML documents is that they’re not limited to any
          particular form of output.
             ●In many cases, XML documents are used with stylesheets to provide
          high-quality output on-screen.
             ●You can use the same data, however, to send information to a speech-
          synthesis program that reads the text to a person who is vision
          impaired.
            ●Alternatively, that same data might also create output on a
                           Braille reader.The same document with a layout program
          and             a stylesheet also might be used for high-quality printouts.
                (Figure 1-1 gives you an idea of the infinite variety of output
          choices that XML makes available to you.)




   http://it-slideshares.blogspot.com
● The beauty of this concept is that you never need to fuss and fidget
with the XML data to create output for different devices. You need only
use different pieces of software that can read XML and can provide the
output for a particular format or output device.

http://it-slideshares.blogspot.com
 Using the same data across platforms
       Figuring out what XML is good
         Figuring out what XML is good for(cont..)
        ● Suppose you want to exchange database information across the
      Web, use a Web browser to send information from a user
      questionnaire back to a Web server. To accomplish this task,     you need
      a document format that is:
          ♦ Extensible: An extensible format is one that can be tailored or
      customizeed for specific applications.
         ♦ Open: It’s well documented and widely available.
          ♦Nonproprietary: It’s expressed in an accepted or standard form of
      notation that isn’t the exclisive property of some individual,  company,
      or organnization.




http://it-slideshares.blogspot.com
3.2 Beyond the Hype: What XML anymore.
   It’s not just for Web pages Isn’t.
           ● If you display an XML document on the Web in its raw form, all you’ll see is
      the XML markup itself. Figure 1-2 show an XML file in IE , not much to look at.




And there’s even less to see when this same file is displayed in
Netcape Navigator as shown in figure 1-3:
⇒Browser support for XML is limited and variable.
● But for now XML works well in Web pages only when combined
with another language (CSS) or XML technology (XSLT) to format
the display of the XML information. Figure 1-4 shows our XML file
when it’s combined with smple CSS syle instructions now.
Beyond the Hype: What XML isn’t.(cont..)
 It’s   not database.
 ● You could use XML as a database for a small amount of data, but it wouldn’t be
  effiecient to use XML as a database for large amounts of data.
 ● XML documents work well for both input and ouput, going to and from a
  database, and you can also use them to display database information in print or on
  the Web.
 It’s   not a programming language.
 ● XML is a markup language, not programming language
 ● Although XML can used with programming languages for certain types of
  application development.
 ● XML doesn’t include any of these features.




    http://it-slideshares.blogspot.com
4. Building XML documents.
    You can buiding XML document with notepad editor,but XML editors
     hava two distinct fearures that are essential for creating good XML
     documents:
      ♦ Ease if markup: XML editors, such as XMLSpy, Turbo XML, and XML
     Pro, can add markup to text as simply as you can turn text bold in today’s
     word processors. All XML editors provide the capability to select text
     with a cursor and choose which markup you want to apply from a menu
     of selections.
      ♦ Automatic enforcement of XML document rules: For many
     applications, XML editors can determine which element types can appear
     in certain contexts. In this way, the editor helps you avoid making syntax
     or structure mistakes.
    XML is a subset of SGML.




http://it-slideshares.blogspot.com
THANK YOU
THE END CHAPTER ONE
   http://it-slideshares.blogspot.com

More Related Content

What's hot (18)

Web programming xml
Web programming  xmlWeb programming  xml
Web programming xml
 
Xml
XmlXml
Xml
 
Understanding XML DOM
Understanding XML DOMUnderstanding XML DOM
Understanding XML DOM
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML
XMLXML
XML
 
Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)
 
XML and XSLT
XML and XSLTXML and XSLT
XML and XSLT
 
Dynamic HTML (DHTML)
Dynamic HTML (DHTML)Dynamic HTML (DHTML)
Dynamic HTML (DHTML)
 
XML
XMLXML
XML
 
XML Document Object Model (DOM)
XML Document Object Model (DOM)XML Document Object Model (DOM)
XML Document Object Model (DOM)
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
WEB TECHNOLOGIES XML
WEB TECHNOLOGIES XMLWEB TECHNOLOGIES XML
WEB TECHNOLOGIES XML
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
Dom Hackking & Security - BlackHat Preso
Dom Hackking & Security - BlackHat PresoDom Hackking & Security - BlackHat Preso
Dom Hackking & Security - BlackHat Preso
 
Xml ppt
Xml pptXml ppt
Xml ppt
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 

Viewers also liked

Lecture 4 - Adding XTHML for the Web
Lecture  4 - Adding XTHML for the WebLecture  4 - Adding XTHML for the Web
Lecture 4 - Adding XTHML for the Webphanleson
 
Lecture 07 - Executive Information Systems and the Data Warehouse
Lecture 07 - Executive Information Systems and the Data WarehouseLecture 07 - Executive Information Systems and the Data Warehouse
Lecture 07 - Executive Information Systems and the Data Warehousephanleson
 
Authentication in wireless - Security in Wireless Protocols
Authentication in wireless - Security in Wireless ProtocolsAuthentication in wireless - Security in Wireless Protocols
Authentication in wireless - Security in Wireless Protocolsphanleson
 
Mobile Security - Wireless hacking
Mobile Security - Wireless hackingMobile Security - Wireless hacking
Mobile Security - Wireless hackingphanleson
 
Learning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with SparkLearning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with Sparkphanleson
 
Firewall - Network Defense in Depth Firewalls
Firewall - Network Defense in Depth FirewallsFirewall - Network Defense in Depth Firewalls
Firewall - Network Defense in Depth Firewallsphanleson
 
Hacking web applications
Hacking web applicationsHacking web applications
Hacking web applicationsphanleson
 

Viewers also liked (7)

Lecture 4 - Adding XTHML for the Web
Lecture  4 - Adding XTHML for the WebLecture  4 - Adding XTHML for the Web
Lecture 4 - Adding XTHML for the Web
 
Lecture 07 - Executive Information Systems and the Data Warehouse
Lecture 07 - Executive Information Systems and the Data WarehouseLecture 07 - Executive Information Systems and the Data Warehouse
Lecture 07 - Executive Information Systems and the Data Warehouse
 
Authentication in wireless - Security in Wireless Protocols
Authentication in wireless - Security in Wireless ProtocolsAuthentication in wireless - Security in Wireless Protocols
Authentication in wireless - Security in Wireless Protocols
 
Mobile Security - Wireless hacking
Mobile Security - Wireless hackingMobile Security - Wireless hacking
Mobile Security - Wireless hacking
 
Learning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with SparkLearning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with Spark
 
Firewall - Network Defense in Depth Firewalls
Firewall - Network Defense in Depth FirewallsFirewall - Network Defense in Depth Firewalls
Firewall - Network Defense in Depth Firewalls
 
Hacking web applications
Hacking web applicationsHacking web applications
Hacking web applications
 

Similar to Lecture 1 - Getting to know XML

Similar to Lecture 1 - Getting to know XML (20)

Tutor Xml Gxs
Tutor Xml GxsTutor Xml Gxs
Tutor Xml Gxs
 
Xml
XmlXml
Xml
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
eXtensible Markup Language
eXtensible Markup LanguageeXtensible Markup Language
eXtensible Markup Language
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
 
Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
93 peter butterfield
93 peter butterfield93 peter butterfield
93 peter butterfield
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Xml
XmlXml
Xml
 
XML-INTRODUCTION.pdf
XML-INTRODUCTION.pdfXML-INTRODUCTION.pdf
XML-INTRODUCTION.pdf
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
 
XML Bible
XML BibleXML Bible
XML Bible
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptx
 
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
 
Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01
 
Xml material
Xml materialXml material
Xml material
 
Xml material
Xml materialXml material
Xml material
 

More from phanleson

E-Commerce Security - Application attacks - Server Attacks
E-Commerce Security - Application attacks - Server AttacksE-Commerce Security - Application attacks - Server Attacks
E-Commerce Security - Application attacks - Server Attacksphanleson
 
HBase In Action - Chapter 04: HBase table design
HBase In Action - Chapter 04: HBase table designHBase In Action - Chapter 04: HBase table design
HBase In Action - Chapter 04: HBase table designphanleson
 
HBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - OperationsHBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - Operationsphanleson
 
Hbase in action - Chapter 09: Deploying HBase
Hbase in action - Chapter 09: Deploying HBaseHbase in action - Chapter 09: Deploying HBase
Hbase in action - Chapter 09: Deploying HBasephanleson
 
Learning spark ch11 - Machine Learning with MLlib
Learning spark ch11 - Machine Learning with MLlibLearning spark ch11 - Machine Learning with MLlib
Learning spark ch11 - Machine Learning with MLlibphanleson
 
Learning spark ch10 - Spark Streaming
Learning spark ch10 - Spark StreamingLearning spark ch10 - Spark Streaming
Learning spark ch10 - Spark Streamingphanleson
 
Learning spark ch09 - Spark SQL
Learning spark ch09 - Spark SQLLearning spark ch09 - Spark SQL
Learning spark ch09 - Spark SQLphanleson
 
Learning spark ch07 - Running on a Cluster
Learning spark ch07 - Running on a ClusterLearning spark ch07 - Running on a Cluster
Learning spark ch07 - Running on a Clusterphanleson
 
Learning spark ch06 - Advanced Spark Programming
Learning spark ch06 - Advanced Spark ProgrammingLearning spark ch06 - Advanced Spark Programming
Learning spark ch06 - Advanced Spark Programmingphanleson
 
Learning spark ch05 - Loading and Saving Your Data
Learning spark ch05 - Loading and Saving Your DataLearning spark ch05 - Loading and Saving Your Data
Learning spark ch05 - Loading and Saving Your Dataphanleson
 
Learning spark ch04 - Working with Key/Value Pairs
Learning spark ch04 - Working with Key/Value PairsLearning spark ch04 - Working with Key/Value Pairs
Learning spark ch04 - Working with Key/Value Pairsphanleson
 
Learning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with SparkLearning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with Sparkphanleson
 
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about LibertagiaHướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagiaphanleson
 
Lecture 2 - Using XML for Many Purposes
Lecture 2 - Using XML for Many PurposesLecture 2 - Using XML for Many Purposes
Lecture 2 - Using XML for Many Purposesphanleson
 
SOA Course - SOA governance - Lecture 19
SOA Course - SOA governance - Lecture 19SOA Course - SOA governance - Lecture 19
SOA Course - SOA governance - Lecture 19phanleson
 
Lecture 18 - Model-Driven Service Development
Lecture 18 - Model-Driven Service DevelopmentLecture 18 - Model-Driven Service Development
Lecture 18 - Model-Driven Service Developmentphanleson
 
Lecture 15 - Technical Details
Lecture 15 - Technical DetailsLecture 15 - Technical Details
Lecture 15 - Technical Detailsphanleson
 
Lecture 10 - Message Exchange Patterns
Lecture 10 - Message Exchange PatternsLecture 10 - Message Exchange Patterns
Lecture 10 - Message Exchange Patternsphanleson
 
Lecture 9 - SOA in Context
Lecture 9 - SOA in ContextLecture 9 - SOA in Context
Lecture 9 - SOA in Contextphanleson
 
Lecture 07 - Business Process Management
Lecture 07 - Business Process ManagementLecture 07 - Business Process Management
Lecture 07 - Business Process Managementphanleson
 

More from phanleson (20)

E-Commerce Security - Application attacks - Server Attacks
E-Commerce Security - Application attacks - Server AttacksE-Commerce Security - Application attacks - Server Attacks
E-Commerce Security - Application attacks - Server Attacks
 
HBase In Action - Chapter 04: HBase table design
HBase In Action - Chapter 04: HBase table designHBase In Action - Chapter 04: HBase table design
HBase In Action - Chapter 04: HBase table design
 
HBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - OperationsHBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - Operations
 
Hbase in action - Chapter 09: Deploying HBase
Hbase in action - Chapter 09: Deploying HBaseHbase in action - Chapter 09: Deploying HBase
Hbase in action - Chapter 09: Deploying HBase
 
Learning spark ch11 - Machine Learning with MLlib
Learning spark ch11 - Machine Learning with MLlibLearning spark ch11 - Machine Learning with MLlib
Learning spark ch11 - Machine Learning with MLlib
 
Learning spark ch10 - Spark Streaming
Learning spark ch10 - Spark StreamingLearning spark ch10 - Spark Streaming
Learning spark ch10 - Spark Streaming
 
Learning spark ch09 - Spark SQL
Learning spark ch09 - Spark SQLLearning spark ch09 - Spark SQL
Learning spark ch09 - Spark SQL
 
Learning spark ch07 - Running on a Cluster
Learning spark ch07 - Running on a ClusterLearning spark ch07 - Running on a Cluster
Learning spark ch07 - Running on a Cluster
 
Learning spark ch06 - Advanced Spark Programming
Learning spark ch06 - Advanced Spark ProgrammingLearning spark ch06 - Advanced Spark Programming
Learning spark ch06 - Advanced Spark Programming
 
Learning spark ch05 - Loading and Saving Your Data
Learning spark ch05 - Loading and Saving Your DataLearning spark ch05 - Loading and Saving Your Data
Learning spark ch05 - Loading and Saving Your Data
 
Learning spark ch04 - Working with Key/Value Pairs
Learning spark ch04 - Working with Key/Value PairsLearning spark ch04 - Working with Key/Value Pairs
Learning spark ch04 - Working with Key/Value Pairs
 
Learning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with SparkLearning spark ch01 - Introduction to Data Analysis with Spark
Learning spark ch01 - Introduction to Data Analysis with Spark
 
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about LibertagiaHướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
 
Lecture 2 - Using XML for Many Purposes
Lecture 2 - Using XML for Many PurposesLecture 2 - Using XML for Many Purposes
Lecture 2 - Using XML for Many Purposes
 
SOA Course - SOA governance - Lecture 19
SOA Course - SOA governance - Lecture 19SOA Course - SOA governance - Lecture 19
SOA Course - SOA governance - Lecture 19
 
Lecture 18 - Model-Driven Service Development
Lecture 18 - Model-Driven Service DevelopmentLecture 18 - Model-Driven Service Development
Lecture 18 - Model-Driven Service Development
 
Lecture 15 - Technical Details
Lecture 15 - Technical DetailsLecture 15 - Technical Details
Lecture 15 - Technical Details
 
Lecture 10 - Message Exchange Patterns
Lecture 10 - Message Exchange PatternsLecture 10 - Message Exchange Patterns
Lecture 10 - Message Exchange Patterns
 
Lecture 9 - SOA in Context
Lecture 9 - SOA in ContextLecture 9 - SOA in Context
Lecture 9 - SOA in Context
 
Lecture 07 - Business Process Management
Lecture 07 - Business Process ManagementLecture 07 - Business Process Management
Lecture 07 - Business Process Management
 

Recently uploaded

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 

Recently uploaded (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 

Lecture 1 - Getting to know XML

  • 1. XML FOR DUMMIES Book author: Lucinda Dykes and Ed Tittle Part 1 : XML Basics Lecture 1 : Getting to know XML http://it-slideshares.blogspot.com
  • 2. Contents 1 Introducing XML 2 Examining the many uses of XML 3 Deciphering what is XML and what XML isn’t 4 Building an XML document http://it-slideshares.blogspot.com
  • 3. 1. Introducing XML  XML is markup language.  XML isn’t limited to a particular set of markup.  The flexibility of XML has led to its wide-spread use for exchanging data in a multitude of forms.  With XML, you can send the same information to various locations.  You can customize the informtion sent out so it’s displayed appropriately on the various devices.  Getting started with XML isn’t difficult. http://it-slideshares.blogspot.com
  • 4. 2.Examining the many uses of Mocking up your own markup : XML. ● XML is derived from the “mother of all markup language”. ● XML has no predefined tags, you can create your own XML. ● You can design your own custom markup language but you must to keep rules about the syntax of an XML document. ●XHTML is yet another markup language: designed as a transition language between XML and HTML. http://it-slideshares.blogspot.com
  • 5. Examining the many uses of XML(cont..)  Separating data and context : ●XML automatically separates data from context. ●XML document no instructions about how to display the content contained in the document. It only defines the structure of document. You can then add styles. ●The same style sheet is used with more than one document. ●XML can be combined with both two different types of stylesheets : CSS and XSLT for extra versatility. http://it-slideshares.blogspot.com
  • 6. Making information portable : Examining the many uses of ML(cont..) ● XML is all about managing your data. ○XML enables you to colect information once and reuse it in a variety of ways. ○XML data is not limited to one application format. ○Making information portable does require planning and design before the information is collected.  XML mean business. ●XML provides an easy way for businesses to manage and share information. http://it-slideshares.blogspot.com
  • 7. 3. Deciphering what is XML and what XML isn’t. 3.1 Figuring out what XML is good for  Classifying information ●One of the most useful function of XML involves classifying information. ●Example: Book can be classified in many ways, but we kind of like the following classification sheme: ◦ Tile ◦ Author ◦ Publisher ◦ Price ◦ Content Type(Fiction, Nonfiction) ◦ Format(Paperback, hardback) ◦ ISBN http://it-slideshares.blogspot.com
  • 8. 3.1 Figuring out what XML is good for  Classifying information ●Using XML, you can create tags to classify this information. The following code shows a possible XML format for one book: <book> <title>Night Fall</title> <author>Demille, Nelson</author> <publisher>Warner</publisher> <price>$26.95</price> <contentType>Fiction</contentType> <format>Hardback</format> <isbn>0446576638</isbn> </book> ●Giving your tags meaningful name that actually reflect the content makes it easier to work with the information. ●Classifying the information as shown here makes possible for you to search for and retrieve any item with ease. http://it-slideshares.blogspot.com
  • 9. Figuring out what XML is good for(cont..)  Enforcing rules on your data. ●XML excels at allowing you to create rules for the format of your data.Using either Document Type Definitions(DTDs) or XML Scheme to validate your data gives you two immediate advantages. ◦ It help ensure accuracy of information you collect . ◦ It helps ensure that the information gathered is in the most usable format for your business needs. ●Taking another look at the XML we came up with in the previous section for your imaginary book business, you can see several items for which you might want to include rules to govern how the data is formatted, such as: ◦ A currency format for the price ◦ A number format for the ISBN ◦ A restricted selection for content type (Fiction or Nonfiction) ◦ A restricted selection for format (Paperback or Hardback) http://it-slideshares.blogspot.com
  • 10. Figuring out what XML is good for(cont..)  Outputting information in a variety of ways ●The great thing about XML documents is that they’re not limited to any particular form of output. ●In many cases, XML documents are used with stylesheets to provide high-quality output on-screen. ●You can use the same data, however, to send information to a speech- synthesis program that reads the text to a person who is vision impaired. ●Alternatively, that same data might also create output on a Braille reader.The same document with a layout program and a stylesheet also might be used for high-quality printouts. (Figure 1-1 gives you an idea of the infinite variety of output choices that XML makes available to you.) http://it-slideshares.blogspot.com
  • 11. ● The beauty of this concept is that you never need to fuss and fidget with the XML data to create output for different devices. You need only use different pieces of software that can read XML and can provide the output for a particular format or output device. http://it-slideshares.blogspot.com
  • 12.  Using the same data across platforms Figuring out what XML is good Figuring out what XML is good for(cont..) ● Suppose you want to exchange database information across the Web, use a Web browser to send information from a user questionnaire back to a Web server. To accomplish this task, you need a document format that is: ♦ Extensible: An extensible format is one that can be tailored or customizeed for specific applications. ♦ Open: It’s well documented and widely available. ♦Nonproprietary: It’s expressed in an accepted or standard form of notation that isn’t the exclisive property of some individual, company, or organnization. http://it-slideshares.blogspot.com
  • 13. 3.2 Beyond the Hype: What XML anymore. It’s not just for Web pages Isn’t. ● If you display an XML document on the Web in its raw form, all you’ll see is the XML markup itself. Figure 1-2 show an XML file in IE , not much to look at. And there’s even less to see when this same file is displayed in Netcape Navigator as shown in figure 1-3:
  • 14. ⇒Browser support for XML is limited and variable. ● But for now XML works well in Web pages only when combined with another language (CSS) or XML technology (XSLT) to format the display of the XML information. Figure 1-4 shows our XML file when it’s combined with smple CSS syle instructions now.
  • 15. Beyond the Hype: What XML isn’t.(cont..)  It’s not database. ● You could use XML as a database for a small amount of data, but it wouldn’t be effiecient to use XML as a database for large amounts of data. ● XML documents work well for both input and ouput, going to and from a database, and you can also use them to display database information in print or on the Web.  It’s not a programming language. ● XML is a markup language, not programming language ● Although XML can used with programming languages for certain types of application development. ● XML doesn’t include any of these features. http://it-slideshares.blogspot.com
  • 16. 4. Building XML documents.  You can buiding XML document with notepad editor,but XML editors hava two distinct fearures that are essential for creating good XML documents: ♦ Ease if markup: XML editors, such as XMLSpy, Turbo XML, and XML Pro, can add markup to text as simply as you can turn text bold in today’s word processors. All XML editors provide the capability to select text with a cursor and choose which markup you want to apply from a menu of selections. ♦ Automatic enforcement of XML document rules: For many applications, XML editors can determine which element types can appear in certain contexts. In this way, the editor helps you avoid making syntax or structure mistakes.  XML is a subset of SGML. http://it-slideshares.blogspot.com
  • 17. THANK YOU THE END CHAPTER ONE http://it-slideshares.blogspot.com