You are on page 1of 18

XML Document : countries.

xml

<?xml version="1.0" ?>

<?xml-stylesheet type="text/css" href="countries.css" ?>

<countries>

<country id="I1" name="India" inhabited="yes"> India

<introduction>

<intro> A vast empire that was ruled by hundreds of kings and

emperors, colonized by the British became a free sovereign,

democratic republic on 15, August 1947. Since then India

is rapidly growing to be a major developing country.

</intro>

<currency name="Rupees">Indian Rupees</currency>

<national-anthem>"Jana-Gana-Mana Adhi Nayaka" author:Rabindra


Nath Tagore</national-anthem>

<national-emblem>Ashoka's Lion Symbol</national-emblem>

<national-flag>Tri-colored flag with the wheel in the middle</national-


flag>

</introduction>
<geography>

<location>

Continent: Asia,

North: Himalayan Mountains,

East: Bay of Bengal,

West: Arabian Sea,

South: Indian Ocean

</location>

<geographic-coordinates> Co-ordinates: 68 - 96 latitude N,8 - 38


longitude </geographic-coordinates>

<border-countries>

Bordering countries : Pakistan, China, Nepal, Bhutan, Bangladesh,


Myanmar

</border-countries>

</geography>

<languages>

Languages:

<language official="yes" lang="indian-hi">

Hindi 59.3% </language>


<language official="yes" lang="indian-en">

English 23.2% </language>

<language official="yes" lang="indian-Kn">

Kannada 17.5% </language>

<language official="yes" lang="indian-tm">

Tamil 17.5% </language>

<language official="yes" lang="indian-tg">

Telugu 17.5% </language>

<language official="yes" lang="indian-kk">

Konkani 17.5% </language>

</languages>

<government>

<type>GovernmentType : parliamentry democracy </type>

<capital>Capital :New Delhi</capital>

</government>

<tourist-attractions>

Major Tourist Attractions:

<natural-parks> Bandipur Natural-Reserve </natural-parks>

<monuments> Taj Mahal </monuments>

<resorts> Kovalam Beach Resort </resorts>


<historical-sites> Red Fort </historical-sites>

<religious-sites> Tirupathi </religious-sites>

</tourist-attractions>

</country>

<country id="13" name="UK" inhabited="yes">UK

<introduction>

<intro>

Great Britain, the dominant industrial and maritime power of the


19th century, played a leading role in developing parliamentary
democracy and in advancing literature and science.

</intro>

<currency name="pound">British pound </currency>

<national-anthem>God Save the Queen </national-anthem>

<national-emblem>rose</national-emblem>

<national-flag> Union Jack</national-flag>

</introduction>

<geography>

<location>

Continent: Europe,

North: North Atlantic Ocean and the North Sea,


NorthWest: France

</location>

<geographic-coordinates>54 00 N, 2 00 W </geographic-
coordinates>

<border-countries>

<bcountry name="Ireland" boundary="360 km"/>

</border-countries>

</geography>

<languages>

<language official="yes" lang="british-en">

26% English, Welsh </language>

<language official="no" lang="british-gae">

17.5% Scottish form of Gaelic </language>

</languages>

<government>

<type> constitutional monarchy </type>

<capital>Capital :London</capital>

</government>

<tourist-attractions>

<natural-parks> Northumberland National Park </natural-parks>


<monuments> Buckingham Palace </monuments>

<resorts> Bideford Bay </resorts>

<historical-sites> Westminster Abbey </historical-sites>

<religious-sites> St Paull's Cathedral </religious-sites>

</tourist-attractions>

</country>

<country id="CH" name="China" inhabited="yes">China

<introduction>

<intro>

After World War II, the Communists under MAO Zedong

established a dictatorship that, while ensuring China's


sovereignty, imposed strict controls over everyday life and cost the
lives of tens of millions of people. After 1978, his successor DENG
Xiaoping gradually introduced market-oriented reforms and
decentralized economic decision making. Output quadrupled by 2000.
Poitical controls remain tight while economic controls continue to be
relaxed.

</intro>

<currency name="yuan">yuan (CNY) </currency>

<national-anthem> March of the Volunteers</national-anthem>


<national-emblem>Tiananmen under the light of five
stars</national-emblem>

<national-flag> red with a large yellow five-pointed star and

four smaller yellow five pointed stars (arranged in a vertical

arc toward the middle of the flag) in the upper hoist-side

corner </national-flag>

</introduction>

<geography>

<location>

Continent: Asia,

Northeast: Russia 3,605 km,

NorthWest: Russia 40km,

</location>

<geographic-coordinates>35 00 N, 105 00 E </geographic-


coordinates>

<border-countries>

<bcountry name="Afghanistan" boundary="76 km" />

<bcountry name="Bhutan" boundary="470 km" />

<bcountry name="Burma" boundary="2,185 km" />


<bcountry name="India" boundary="3,380 km" />

</border-countries>

</geography>

<languages>

<language official="yes" lang="chinese">

Standard Chinese or Mandarin </language>

<language official="no" lang="chinese">

Yue Cantonese </language>

<language official="no" lang="chinese">

Wu (Shanghaiese) </language>

<language official="no" lang="chinese">

Minbei (Fuzhou), </language>

</languages>

<government>

<type> Communist state </type>

<capital> Capital: Beijing</capital>

</government>

<tourist-attractions>

<natural-parks> Yellow River </natural-parks>


<monuments> The Great Wall </monuments>

<resorts> The West Tinamu Mountain </resorts>

<historical-sites> XIAN, Showcase of Imperial History </historical-


sites>

<religious-sites> Xujiahui Cathedral,Yu Fo Temple </religious-


sites>

</tourist-attractions>

</country>

<country id="C1" name="Canada" inhabited="yes">Canada

<introduction>

<intro>A land of vast distances and rich natural

resources, Canda became a self-governing dominion in 1867


while retaining ties to the British Crown.

Economically and technologically the nation has developed

in parallel with the US, its neighbor to the south across

and unfortified border. Its paramount political problem

continues to be the relationship of the province of

Quebec, with its French-speaking residents and

unique culture, to the remainder of the country.</intro>

<currency name="Dollar">Canadian Dollar </currency>


<national-anthem> O canada author="Calixa
Lavallee"</national-anthem>

<national-emblem> The Maple Leaf </national-emblem>

<national-flag> The flag is red and white, with a stylized 11-point


red leaf in its centre. </national-flag>

</introduction>

<geography>

<location> Northern North America, bordering the North

Atlantic Ocean on the east, North Pacific Ocean on the

west, and the Arctic Ocean on the north, north of the

conterminous US </location>

<geographic-coordinates> 60 00 N, 95 00 w </geographic-
coordinates>

<border-countries>

<bcountry name="US" boundary="8,893 km (includes 2,477


km with Alaska)"/>

</border-countries>

</geography>

<languages>

<language official="yes" lang="english">


English 59.3% </language>

<language official="yes" lang="french">

French 23.2% </language>

<language official="yes" lang="other">

Other 17.5% </language>

</languages>

<government>

<type> confederation with parliamentary democracy </type>

<capital> Capital: Ottawa</capital>

</government>

<tourist-attractions>

<natural-parks> Stanley Park </natural-parks>

<monuments> Cn Tower </monuments>

<resorts> Clayoquot Wilderness </resorts>

<historical-sites> Fort Selkirk </historical-sites>

<religious-sites> Chruches </religious-sites>

</tourist-attractions>

</country>

</countries>
Stylesheet file: countries.css

countries, country, introduction, intro, currency, national-anthem,


national-emblem, national-flag, geography, location,
geographic_coordinates, border_countries, languages, government,
type, capital, tourist-attractions, natural-parks, monuments, resorts,
historical-sites, religious-sites

{ display: block; font-size: 14pt; font-weight: 200;

font-family: Arial; margin-top:7pt;

country

{ display: block; font-style: italic; color: navy; border-bottom:

solid blue 2px; padding-bottom: 2em; padding-top: 2em;

padding-left: 1em;

introduction

{ display: block; font-family: sans-serif; font-size: 14pt;


font-style: italic; color: purple; padding: 10px; margin: 20px;

border: Maroon thin solid;

intro

{ display: block;

currency

{ display: block;

color: purple;

national-anthem, national-emblem, national-flag

{ display: block;

color: purple;

location, geographic-coordinates, languages, government, tourist-


attractions
{ margin-right: 2em;

margin-left: 2em;

languages

{ font-family: Arial; text-decoration: underline; font-style: italic;

font-weight: bold; color: red;

government, type

{ display: block;

capital

{ display: block; font-style: italic; color: red; font-weight: 800;

}
OUTPUTS

You might also like