HTML5 table
Write an XSL style sheet for your solution below that displays the nutritional facts in an HTML5 table.
<?xml version="1.0"?>
<!-- Exercise 15.7 -->
<!-- Nutrition Facts -->
<product name = "Grandma White's Cookies">
<servingSize>1 package</servingSize>
<servingSizePerBag>1</servingSizePerBag>
<calories>
<total>260 Calories</total>
<fatCalories>100 Calories</fatCalories>
</calories>
<fat>
<total>11 grams</total>
<saturated>2 grams</saturated>
</fat>
<cholesterol>5 milligrams</cholesterol>
<sodium>210 milligrams</sodium>
<carbohydrates>
<total>36 grams</total>
<fiber>2 grams</fiber>
<sugars>15 grams</sugars>
</carbohydrates>
<protein>5 grams</protein>
</product>
Step by step
Solved in 2 steps