XML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE STUDENTDETAILS SYSTEM "D:\Programming\XML\UGP1\2\student.dtd">
<STUDENTDETAILS>
<STUDENT>
<FNAME>PETER</FNAME>
<LNAME>COLE</LNAME>
<DATEOFBIRTH>12/07/1974</DATEOFBIRTH>
<SEM1MARK>89</SEM1MARK>
<SEM2MARK>96</SEM2MARK>
</STUDENT>
</STUDENTDETAILS>
DTD
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT STUDENTDETAILS (STUDENT)+>
<!ELEMENT STUDENT (FNAME, LNAME, DATEOFBIRTH, SEM1MARK, SEM2MARK)>
<!ELEMENT FNAME (#PCDATA)>
<!ELEMENT LNAME (#PCDATA)>
<!ELEMENT DATEOFBIRTH (#PCDATA)>
<!ELEMENT SEM1MARK (#PCDATA)>
<!ELEMENT SEM2MARK (#PCDATA)>
|