I need help on the following html assignment! Create an XML document named l6p2.
ID: 3545620 • Letter: I
Question
I need help on the following html assignment!
Create an XML document named l6p2.xml with at least three instances of the "course" element defined in the DTD of Part 1. At least one of the courses must have a lab component.
Put a DOCTYPE header in your XML file referring to your DTD. Assuming that your XML root element is named <courses>, the first three lines of your XML file will now look something like this:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE courses SYSTEM "http://webdev.com/~mark/l6p1.dtd" >
<courses>
(Of course, you must put your user ID instead of mine in the link to the DTD, right?)
Explanation / Answer
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE courses SYSTEM "http://webdev.com/~mark/l6p1.dtd" >
<courses>
<DEPARTMENT>CSE</DEPARTMENT>
<COURSE_NAME>BE</COURSE_NAME>
<COURSE_NUMBER>1</COURSE_NUMBER>
<INSTRUCTOR>ABC</INSTRUCTOR>
<COURSE_TYPE LAB="TRUE">BSS</COURSE_TYPE>
<TIME>1</TIME>
<ROOM>208</ROOM>
</courses>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.