Fill This Form To Receive Instant Help
Homework answers / question archive / Using XML, XSD, and XSL or XLST to develop the content as shown below
Using XML, XSD, and XSL or XLST to develop the content as shown below. To break it down, first I would need an XSL file, the purpose of the XSL file is for the XML to do a stylesheet reference and provide an output in HTML that is the same as the above picture in terms of formatting. The data will not be the same. Then an XSD file for the XML file to identify the overall structure.
Part 3:
On Moodie site, under Assignment 2 section, download the file A2.xml and study it carefully. Using the content of A2.xml , create the following files.
• edited A2.xml file to use the stylesheet S2.xsl • a S2.xsd file describing the structure of A2.xml • a stylesheet file S2.xsl.
The output using the style sheet file should look like the following, but the data is different: Singapore [01/08/20 10:00 PN1J
Data Mon Ton Wed Tin Fri it sat 23° - 29° Cloudy with a thunderstorm San f 12.fun 25' - 30' Considerable clouds 28 Jon 22°7 30° Cr-) A morning shower. then rain 30' - 3-1* Plenty of sutulunr I 10701 29° - 33° ? / . .e Partly sunny 30 Jul 28° - 32° , ) Plenty of sunshine
Please note that:
• The background colour for the first row and first column is orange. The text for the 1st row is bold. All table cell contents are centralised. • All the forecast must be displayed in ascending order from earliest date to the latest date. • The temperature is from lowest to highest with the degree celsius symbol. • You have to use the images from the A2 Resources folder (base on the "overallCode" element in the xml file) • Use green for "cloudy", blue for "thunderstorm" and "rain" and red for "sunny" and "partly sunny" weather as shown above.