The first line of an XML page starts with :
This lets the viewing browser know what type of coding and what language character set is being used. ISO-8859-1 happens to be the Latin-1/West European set which is the most common.
If you are using a current version of IE or Mozilla, you can view this example here...
Not very exciting is it? It basically shows the coding as it is. As stated before, XML is used to describe the data. Displaying it in a featured way takes style sheets.
<?xml version="1.0" encoding="ISO-8859-1"?>
This lets the viewing browser know what type of coding and what language character set is being used. ISO-8859-1 happens to be the Latin-1/West European set which is the most common.
<?xml version="1.0" encoding="ISO-8859-1"?>
<list_of_movies>
<movie>
<title> Finding Nemo </title>
<age_group> Kids </age_group>
<comments> Fish are friends, not food. </comments>
</movie>
<movie>
<title> Monty Python Holy Grail </title>
<age_group> Adult </age_group>
<comments> A shrubbery for the Knights who say Nee! </comments>
</movie>
<movie>
<title> Harry Potter </title>
<age_group> All </age_group>
<comments> Very popular for all ages. </comments>
</movie>
</list_of_movies>
<list_of_movies>
<movie>
<title> Finding Nemo </title>
<age_group> Kids </age_group>
<comments> Fish are friends, not food. </comments>
</movie>
<movie>
<title> Monty Python Holy Grail </title>
<age_group> Adult </age_group>
<comments> A shrubbery for the Knights who say Nee! </comments>
</movie>
<movie>
<title> Harry Potter </title>
<age_group> All </age_group>
<comments> Very popular for all ages. </comments>
</movie>
</list_of_movies>
If you are using a current version of IE or Mozilla, you can view this example here...
Not very exciting is it? It basically shows the coding as it is. As stated before, XML is used to describe the data. Displaying it in a featured way takes style sheets.

