Page 174 - Data Science class 11
P. 174
The IOT is invading almost everything and mundane activities of life. Some of the main sectors are given in the table
below.
Table 4.1: Application of IoT in various sectors of life.
S.No. Industry/Area Use
1. Home Control of heating, lights, door locks etc
2. Health medical Remote Patient Monitoring etc
3. Fitness and wellness Tracking heart rate and Training plans
4. Factory and Industry Production line control ,asset tracking etc
5. Agriculture Automatic watering, soil monitoring etc
6. Cars and Roads Connected cars, parking spaces etc
7. Smart Cities Traffic management, parking space tracking and availability
4.7 StruCturing Data uSing XML (eXtenSiBLe Markup Language)
Whenever we collect data for analysis, we first decide upon a subject on which the same needs to be performed. We
then go one level deeper to understand the characteristics that need to be observed to perform the analysis.XML, a
sort of computer text format, was designed to store and transport data from Internet. XML has a variety of uses for
Web, e-business, and portable applications. XML provides a standard method to access information, making it easier
for applications and devices of all kinds to use, store, transmit, and display data.XML stores data in plain text format.
This provides a software and hardware independent way of storing, transporting, and sharing data. XML also makes
it easier to expand or upgrade to new operating systems, new applications, or new browsers, without losing data.
XML is a markup language that defines set of rules for encoding documents in a format that is both human-readable
and machine-readable. Markup is information added to a document that enhances its meaning in certain ways, in that
it identifies the parts and how they relate to each other. More specifically, a markup language is a set of symbols that
can be placed in the text of a document to demarcate and label the parts of that document.
With the use of XML, data can be available to all kinds of "reading machines" like people, computers, voice machines,
and news feeds, etc.
If two or more systems use common data formats and communication protocols and are capable of communicating
with each other, they exhibit syntactic interoperability. XML and SQL (Structured Query Language) are examples of
common data formats and protocols.
Let us understand how to use XML through a piece of XML code snippet:
<note>
<to>Harry</to>
<from>Samuel</from>
<heading>Reminder</heading>
<body>Let's catch-up this weekend!</body>
</note>
The XML above is quite self-descriptive due to the following reasons:
• It has sender information, i.e. Samuel.
• It has receiver information, i.e. Harry.
172 Touchpad Data Science-XI

