X-Informatics Homework 6
Due March 13 2002
- Choose an example XML document representing the record of a medical
patient. If you successfully produced an XML schema in homework 4, your example
may naturally be an XML instance satisfying that schema, but note you will
not need the schema for this homework.
- Add a suitable xml-stylesheet processing instruction to your
document. You may specify either "text/css" or "text/xsl" for
the stylesheet type attribute. Give a relative URL (file name) for the
href attribute.
- Write the associated style sheet file.
- You may use Cascading Style Sheets or a suitable subset
of XSLT. In either case the style sheet should allow all the information
contained in the patient record to be displayed in a readable format by
Internet Explorer 5.
- You may use a local file URL, like:
file:C:\patienteg.xml
to view your XML document with Internet Explorer.
- Examples from the lectures using CSS:
and XSLT:
Use View->Source to see XML source of document instances.
- Hand in the example XML document and the style sheet