Slip 21 - A) Write a script to create XMLfile named “Course.xm]” ....... ...... ..... Store the details of 5 students who are in SYBBA(CA).

Solution:

<?xml version="1.0" encoding="utf-8"?>
<course>
<computerscience>
<studentname>samir Thorat </studentname>
<classname>SYBCA. </classname>
<percentage>60 </percennatage>
</computerscience>

<computerscience>
<studentname>sunil kamble </studentname>
<classname>SYBCA. </classname>
<percentage>55 </percennatage>
</computerscience>
<computerscience>
<studentname>anil kamble </studentname>
<classname>SYBCA. </classname>
<percentage>60 </percennatage>
</computerscience>

<computerscience>
<studentname>asha kamble </studentname>
<classname>SYBCA. </classname>
<percentage>65 </percennatage>
</computerscience>

<computerscience>
<studentname>madhuri </studentname>
<classname>SYBCA. </classname>
<percentage>70 </percennatage>
</computerscience>
</course>

Post a Comment

0 Comments