W1 Lesson 1 - XML Fundamentals - Module
W1 Lesson 1 - XML Fundamentals - Module
1
XML Fundamentals
XML Fundamentals
What is XML?
XML Defined
XML stands for eXtensible Markup Language. It is metalanguage which
allows users to create their own tags especially used to display documents on
the Internet.
Note: It is a standard in exchanging and storing data and information over the
A metalanguage is a internet. Knowledge in XML is a fundamental skill every programmer needs
language that describes to possess.
another language.
Purpose of XML
The following is an overview of the purpose of XML.
1. XML is used to organize and describe information. It takes data and
information, applies structure, and then gives it meaning.
2. XML is intended to be a standard of describing and structuring data over
the internet.
3. XML can bridge the gap between two unrelated systems never intended
to work with each other. For example, creating a new application that will
be used to access data from an older application.
You can notice that the information on the right column is described by the
labels form the left column. Without the labels, you will not be able to know
the meaning of the information on the right column.
WebApp: XML-based Web Application
3
XML Fundamentals
Describes
The same concept can be applied to XML. XML tags are used to describe data.
Below is an XML file based on the calling card above.
The tags that you see above (<name>, <address>, <phone>, <email>, and
<BusinessCard>) are all self-defined tags, meaning they are not a predefined
tags of XML. XML can allow the user to create his/her own tag.
Course Module
Figure 5: The RSS Logo
Source: https://upload.wikimedia.org/wikipedia/en/thumb/4/43/Feed-icon.svg/1200px-Feed-
icon.svg.png
http://news.bbc.co.uk/2/hi/help/rss/default.stm
You will see a lot of RSS Feeds available. Websites about the weather and
the news uses RSS Feeds.
Glossary
AJAX (Asynchronous JavaScript And XML): This is a technology well-
known for its "asynchronous" nature. It can communicate, exchange data,
and update the page of the server without having to refresh the page.
Markup language: This is a set of symbols called tags added to a document
that distinguishes and labels the part of a document.
Metalanguage: This is a language that describes another language.
RSS (Rich Site Summary): This is a format for delivering dynamic content in
the internet
W3C (World Wide Web Consortium): An organization that sets the
standard of applications used for the Web.
XHTML (Extensible Hypertext Markup Language): A combination of both
HTML and XML.
XLST (XML Stylesheet Language Transformation): This technology takes
an XML file and converts it into other format.
XML (Extensible Mark-up Language): This is a standard in exchanging and
storing data and information over the internet.
XPath: This is the syntax for defining parts of an XML document as well as to
extract information on it.
Course Module
XML Tutorial; https://www.tutorialspoint.com/xml/; Accessed on 8/7/2017
XML Examples; https://www.w3schools.com/xml/xml_examples.asp;
Accessed on 8/7/2017
W3C Standards; https://www.w3.org/standards/; Accessed on 8/7/2017
XHTML; http://searchmicroservices.techtarget.com/definition/XHTML-
Extensible-Hypertext-Markup-Language; Accessed on 8/7/2017
http://w3schools.sinsixx.com/xml/xml_real_life.asp.htm; Accessed on
8/7/2017
What is RSS?; http://www.whatisrss.com/; Accessed on 8/7/2017
AJAX: Getting started; https://developer.mozilla.org/en-
US/docs/AJAX/Getting_Started; Accessed on 8/7/2017
Instructional Videos
XML – Explained in 2 minutes; https://www.youtube.com/watch?v=tZE-
O5KTwCY; Accessed on 8/7/2017
Learn XML Tutorial Part 1;
https://www.youtube.com/watch?v=qgZVAznwX38; Accessed on 8/7/2017