CS99I
Displaying an XML file with the XMLDSO applet
Sample by Gio Wiederhold based [Sean McGrath: XML by Example; Prentice Hall, 1998.]
Applet
use listing (with comments)
<applet code=com.ms.xml.dso.XMLDSO.class
width=100%
height=50 (area, 50 pixels high, to display prograss and error messages)
id=xmldso
>
<PARAM NAME="url" VALUE="../../movies/H0.xml"> (Source XML file)
</applet>
<P>Information about Hitchcock movies.</P>
<TABLE ID=table WIDTH=100% datasrc=#xmldso> (we use the default table layout, full width)
<THEAD><TH>Title</TH><TH>Year</TH>
<TH>Director</TH><TH>Producer(s)</TH>
<TH>Studio</TH><TH>Notes</TH></THEAD>
<TR><TD><DIV datafld=title></TD>
<TD><DIV datafld="year"></TD>
<TD><DIV datafld=dname></TD>
<TD><DIV datafld=studio></TD>
<TD><DIV datafld=notes></TD> (not all source fields are presented)
</TR>
</TABLE>
<HR>
</BODY>
</HTML>
Execution
Information about Hitchcock movies.
Title | Year |
Director | Producer(s) |
Studio | Notes |
|
|
|
|
|
|