The test is open-everything with the sole limitation that you neither solicit nor give help while the exam is in progress.
Give an example of an XML document that validates according to this DTD:
<!ELEMENT catalog (product+)>
<!ELEMENT product (specifications+,options?,price+,notes?)>
<!ATTLIST product
name CDATA #IMPLIED
category (handtool|table|shop-professional) "handtool"
partnum CDATA #IMPLIED
plant (pittsburgh|milwaukee|chicago) "chicago"
inventory (instock|backordered|discontinued) "instock">
<!ELEMENT specifications (#PCDATA)>
<!ATTLIST specifications
weight CDATA #IMPLIED
power CDATA #IMPLIED>
<!ELEMENT options (#PCDATA)>
<!ATTLIST options
finish (metal|polished|matte) "matte"
adapter (included|optional|notapplicable) "included"
case (hardshell|soft|notapplicable) "hardshell">
<!ELEMENT price (#PCDATA)>
<!ATTLIST price
msrp CDATA #IMPLIED
wholesale CDATA #IMPLIED
street CDATA #IMPLIED
shipping CDATA #IMPLIED>
<!ELEMENT notes (#PCDATA)>
a img {
border-style: none;
color: white;
}
and
a,img {
border-style: none;
color: white;
}
<body text=red link=green alink=blue vlink=gold
bgcolor=orange background="triangles.gif">
<table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><td colspan=2 height=200 align=center>ONE</tr> <tr><td width=50 height=100><u>TWO</u><td><font face=Arial>THREE</font> <tr><td bgcolor=yellow width=300>FOUR<td>FIVE </table>
<h1 style="font-size:400%">X O Z O</h1>
Describe how to fix this using an image replacement technique, but also show a simpler way.