XML code to represent a sample mark sheet.

Q5. Write the XML code to represent a sample mark sheet.

Ans.

<?xml version = “1.0” encoding = “utf-8”?>

<Student_MarksSheet>

<Student_Details>

<Stud_Name> Kavya </Stud_Name>

<Stud_Class> IX </Stud_Class>

<Stud_RollNo> 1101 </Stud_RollNo>

<Total_Marks> 268 </Total_Marks>

</Student_Details>

</Student_MarksSheet>

Leave a Reply

Your email address will not be published. Required fields are marked *

677 Views
%d bloggers like this: