Page 207 - PYTHON-12
P. 207
Structure of XML document:
<?xml version="1.0">
<Client>
<Clientid>C100</Clientid>
<Clientname>Johnson</Clientname>
<Company>APPLE</Company>
</Client>
<Client>
<Clientid>C101</Clientid>
<Clientname>McGraw</Clientname>
<Company>HCL</Company>
</Client>
</xml>
CTM: XML is a Markup Language for creating documents in a structured format. Users can create their own
tags along with predefined tags already defined by HTML.
8.30.4 Hyper Text Transfer Protocol (HTTP)
HTTP is used to transfer all files and other data (collectively called resources) from one computer
to another on the World Wide Web. This protocol is used to transfer hypertext documents over the
internet. HTTP defines how the data is formatted and transmitted over the network. When an HTTP
client (a browser) sends a request to an HTTP server (web server), the server sends responses
back to the client. This transfer of requests and responses is done following HTTP protocol.
The main features of an HTTP document are:
1. It is a stateless protocol; this means that several commands are executed simultaneously
without knowing the command which is already executing before another command.
2. It is an object-oriented protocol that uses client server model.
3. The browser (client) sends request to the server, the server processes it and sends responses
to the client.
4. It is used for displaying web pages on the screen.
8.30.5 Domain Names
To communicate over the internet, we can use IP addresses. But it is not possible to remember
the IP address of a particular website or computer every time. Domain names make it easier to
resolve IP addresses into names, for example, cbse.nic.in, google.com, meritnation.com, etc. It is the
Computer Networks
system which assigns names to some computers (web servers) and maintains a database of these
names and corresponding IP addresses. Domain names are used in URLs to identify particular
web servers, for example, in the URL https://www.cbse.nic.in/welcome.htm, the domain name is
cbse.nic.in.
8.53