0% found this document useful (0 votes)
35 views

Introduction To XML - Integrative Programming Ii

The document discusses XML, including how it is used to separate data from presentation, store transactional data across many industries, and form element trees with parent-child relationships. XML is often used alongside HTML to store and transport data.

Uploaded by

Laen Onredor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Introduction To XML - Integrative Programming Ii

The document discusses XML, including how it is used to separate data from presentation, store transactional data across many industries, and form element trees with parent-child relationships. XML is often used alongside HTML to store and transport data.

Uploaded by

Laen Onredor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Rogationist College (St.

Anthony’s Boys Village Inc) Fourth Year – First Semester


Neal Andreev S. Roderno, BSIT-701 ITP75 – INTEGRATIVE PROGRAMMING II

INTRODUCTION TO XML while HTML is used to format and


display the same data.
What is XML?  XML Separates Data from HTML
 When displaying data in HTML,
 XML stands for eXtensible
you should not have to edit the
Markup Language
HTML file when the data
 XML was designed to store and
changes.
transport data.
 With XML, the data can be stored
 XML was designed to be both
in separate XML files.
human- and machine-readable
 With a few lines of JavaScript
XML Sample code, you can read an XML file
and update the data content of
any HTML page.
XML can be used as Transaction Data

 Thousands of XML formats exist,


in many different industries, to
How can XML be used? describe day-to-day data
transactions:
 XML is used in many aspects of
o Stocks and Shares
web development.
o Financial transactions
 XML is often used to separate
data from presentation. o Medical data
o Mathematical data
Note: o Scientific measurements
 XML Separates Data from o News information
Presentation o Weather services
 XML does not carry any
information about how to be
displayed.
 The same XML data can be used
in many different presentation
scenarios.
 Because of this, with XML, there
is a full separation between data
and presentation.
 XML is Often a Complement to
HTML
 In many HTML applications, XML
is used to store or transport data,
The XML Tree
Rogationist College (St. Anthony’s Boys Village Inc) Fourth Year – First Semester
Neal Andreev S. Roderno, BSIT-701 ITP75 – INTEGRATIVE PROGRAMMING II
 XML documents are formed  A prolog defines the XML version
as element trees. and the character encoding:
 An XML tree starts at a root  Example:
element and branches from the
root to child elements
 All elements can have sub
elements (child elements):

Note:
 The terms parent, child, and
sibling are used to describe the
relationships between elements.
 Parents have children. Children
have parents. Siblings are
children on the same level
(brothers and sisters).
 All elements can have text
content (Harry Potter) and
attributes (category="cooking").
 A prolog defines the XML version
and the character encoding:
XML Prolog

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy