Reference no: EM132217503
Question: The Downtown Zoo has hired you to help work on their web site. They would like to create a page that displays the times that various animals are being fed. The Zoo has the information stored in an XML document, Zoo.xml. The web page should list the feeding times across the top as hyperlinks to the details of which animals are fed at that time. The page should look like this:
11:00 14:00 15:00 16:00 9:00
11:00 Feeding Time For:
Lion Tortise
14:00 Feeding Time For:
Penguin Hippo
15:00 Feeding Time For:
Flamingo
16:00 Feeding Time For:
Ape
9:00 Feeding Time For:
Elephant
Rattle Snake
Zoo.xml
<?xml version='1.0'?>?
<?xml-stylesheet href="Zoo.xsl" type="text/xsl"?>
<!-- XML -->?
<zoo>?
<animal name="Lion">
<feeding-time>11:00</feeding-time>
</animal>
<animal name="Penguin">
<feeding-time>14:00</feeding-time>
</animal>?
<animal name="Elephant">
<feeding-time>9:00</feeding-time>
</animal>
<animal name="Tortise">
<feeding-time>11:00</feeding-time>
</animal>?
<animal name="Ape">
<feeding-time>16:00</feeding-time>
</animal>
<animal name="Hippo">
<feeding-time>14:00</feeding-time>
</animal>?
<animal name="Rattle Snake">
<feeding-time>9:00</feeding-time>
</animal>
<animal name="Flamingo">
<feeding-time>15:00</feeding-time>
</animal>
</zoo>
To complete this task you should do the following steps:
1. Create a new XSLT style sheet document Zoo.xsl with the basic structure of a stylesheet. ?
2. Create a stylesheet that displays the feeding times as links across the top of the page, and a list of the animals that ?are fed at each time within the page. ?
The assignment should be done in Altova XML Spy