User Interface Design: Social and Technical
Issues
XML Homework
Below are three files, which should be named bib.xml, bib.dtd, and bib.xsl,
respectively. If you load all three into the same directory and point a
MicroSoft Internet Explorer (IE) browser, version 5 or later, at the XML file, you will see the result formatted according to the
XSL file. The DTD file is not actually necessary, but if present, the
validity of the XML file is checked against its declarations. Note that
Netscape Navigator may not yet support XML. (All three files are also in
this directory.)
Your homework assignment is as follows:
- Modify the XSL (and maybe the XML) file so that books are displayed in a
style like that of the following
Lamport, Leslie. LaTeX: A Document Preparation System
(Addison-Wesley 1986).
and journal articles are displayed in a style like that of the following
Marr, David. Visual information processing,
Phil. Trans. Roy. Soc. B, 290, pp.199-218, 1980.
- Add two books and two journals to the XML file, where two of the new items
have some information missing.
- Define a new type of bibliography item for PhD theses in XSL, add two
such items to the XML file, and add the appropriate declarations to the DTD
code.
- Use the orderings on semiotic morphisms to explain why your new style is
better than the old one.
The XML File
Note that one item is repeated, and that the use of spaces is not entirely
uniform. You do not need to correct this, its purpose is to give this small
data set a hint of some of the irregularities that are inevitably found in
real-life large data sets; the intention is that you should just pause a
moment to think about the issues involved, you do not need to handle them in
this homework assignment.
Leslie Lamport
LaTeX: A Document Preparation System
1986
Addison-Wesley
David Marr
Visual information processing
1980
290
199
218
Phil. Trans. Roy. Soc. B
R. K. Clifton
Breakdown of echo suppression in the precedence effect
1987
82
1834
1835
J. Acoust. Soc. Am.
David Marr
Vision
1982
NY
Freeman
David Marr
Visual information processing
1980
290
199
218
Phil. Trans. Roy. Soc. B
The DTD Code
The XSL Code
Bibliography
Bibliography
-,
To my homepage
Version of 15 May 2003.