Work | MLIS Portfolio | Lit & Art | Outdoors & Travel | Personal | Home  

LIBR 246

Minor Assignment 5:
Displaying XML with XSL

Using plant.dtd and plant.xml (supplied), create the following XSL stylesheets.

  1. Display as nicely as possible the common name (sorted) and the botanical name for bestsellers = yes.
  2. Display as nicely as possible the common name (sorted) for zone 3 plants that will do well in mostly shady conditions.
  3. Display price, availability, common name, and botanical name (sorted by common name). The bestsellers in zone 3 should be made to stand out from the others.
  4. Display common name, botanical name, zone, and light requirement for all plants costing 9 dollars or less (sorted by common name).

Examples

  • Each of these presentations can be accessed from the JavaScript menu with plant.xml.