Sunday, 8 May 2022

Advance Php-Slip24 a-Write a script to create XML file named "College.xml" .

Write a script to create XML file named "College.xml"

The element details of "College.xml" are:

<College >

<Cname>-----</Cname

<City>----</City>

<Rank>----</Rank> </College> Display at least 3 colleges Information.


<?xml version="1.0"?>

<?xml-stylesheet type="text/css"?>

 <collegeinfo>

 <College>

<Cname>FCC</Cname>

<City>PUNE</City>

<Rank>1</Rank>

</College>

 

 <College >

<Cname>CCF</Cname>

<City>PUNE</City>

<Rank>2</Rank>

</College>

 

<College >

<Cname>FC</Cname>

<City>PUNE</City>

<Rank>3</Rank>

 

 </College>

</collegeinfo>