ICS 325
Lab 23
Intro to
XML
(Linux Redhat 7.1)
1. Build the XML File.
§
Log onto
"redhat.ics.metrostate.edu" using your class account, then do the
following:
$ cd
$ cd public_html
$ mkdir lab23
$ cd lab23
§
Edit a text
document called "lab23.xml" using pico with the following lines:
<?xml
version="1.0" encoding="ISO-8859-1" ?>
<SCHOOL>
<DEPARTMENT>
<NAME>Information and Computer
Sciences</NAME>
<COURSE>
<NUMBER>ICS225</NUMBER>
<TITLE>Web Design and Implementation
</TITLE>
<CREDITS>4</CREDITS>
<INSTRUCTOR>Bussjaeger</INSTRUCTOR>
</COURSE>
<COURSE>
<NUMBER>ICS325</NUMBER>
<TITLE>Internet Application
Development</TITLE>
<CREDITS>4</CREDITS>
<INSTRUCTOR>Valentine</INSTRUCTOR>
</COURSE>
<COURSE>
<NUMBER>ICS425</NUMBER>
<TITLE>Distributed Operating
Systems</TITLE>
<CREDITS>4</CREDITS>
<INSTRUCTOR>Level</INSTRUCTOR>
</COURSE>
</DEPARTMENT>
<DEPARTMENT>
<NAME>Mathematics</NAME>
<COURSE>
<NUMBER>MATH210</NUMBER>
<TITLE>CALCULUS I</TITLE>
<CREDITS>4</CREDITS>
<INSTRUCTOR>Hansen</INSTRUCTOR>
</COURSE>
<COURSE>
<NUMBER>MATH211</NUMBER>
<TITLE>CALCULUS II</TITLE>
<CREDITS>4</CREDITS>
<INSTRUCTOR>Estrada</INSTRUCTOR>
</COURSE>
</DEPARTMENT>
<DEPARTMENT>
<NAME>Chemistry</NAME>
<COURSE>
<NUMBER>CHEM301</NUMBER>
<TITLE>Biochemistry</TITLE>
<CREDITS>5</CREDITS>
<INSTRUCTOR>Dressel</INSTRUCTOR>
</COURSE>
</DEPARTMENT>
</SCHOOL>
§
Invoke IE 5 on
your machine, and check your html file with the following address:
http://redhat.ics.metrostate.edu/~f04325??/lab23/lab23.xml