<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href='p.css' type='text/css'?>
<patients>
<patient>
<name>
<fname>Vishwas</fname>
<mname>s</mname>
<lname>d</lname>
</name>
<ssn>054</ssn>
<age>20</age>
<rno>10</rno>
<insurance type="primary">
<id>001</id>
<gno>205</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>202</id>
<gno>305</gno>
<addr>Shimoga</addr>
</insurance>
<mp>liver</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Sharath</fname>
<mname>k</mname>
<lname>r</lname>
</name>
<ssn>053</ssn>
<age>21</age>
<rno>11</rno>
<insurance type="primary">
<id>002</id>
<gno>206</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>203</id>
<gno>306</gno>
<addr>Shimoga</addr>
</insurance>
<mp>heart</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Guru</fname>
<mname>raj</mname>
<lname>a</lname>
</name>
<ssn>055</ssn>
<age>22</age>
<rno>12</rno>
<insurance type="primary">
<id>003</id>
<gno>206</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>203</id>
<gno>307</gno>
<addr>Shimoga</addr>
</insurance>
<mp>lungs</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Amith</fname>
<mname>s</mname>
<lname>s</lname>
</name>
<ssn>057</ssn>
<age>23</age>
<rno>13</rno>
<insurance type="primary">
<id>206</id>
<gno>309</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>209</id>
<gno>309</gno>
<addr>Shimoga</addr>
</insurance>
<mp>Bp</mp>
<dg>nill</dg>
</patient>
</patients>
P.CSS
patient
{
display:block;
border:solid blue 2px;
padding:4px;
margine-left:5%;
}
name
{
color:red;
font-famiily:script;
font-weight:bold;
font-size:30;
margine-left:5%;
}
ssn
{
display:block;
color:green;
font-family:Arial;
font-size:14;
margine-left:5%;
}
age
{
display:block;
color:yelloy;
font-family:Arial;
font-size:14;
margine-left:5%;
}
rno
{
display:block;
color:cyan;
font-family:Arial;
font-size:14;
margine-left:5%;
}
insurance
{
display:block;
color:orange;
font-family:Arial;
font-size:14;
margine-left:5%;
}
mp
{
display:block;
color:blue;
font-family:Arial;
font-size:14;
margine-left:5%;
}
dg
{
display:block;
color:violet;
font-family:Arial;
font-size:14;
margine-left:5%;
}
<?xml-stylesheet href='p.css' type='text/css'?>
<patients>
<patient>
<name>
<fname>Vishwas</fname>
<mname>s</mname>
<lname>d</lname>
</name>
<ssn>054</ssn>
<age>20</age>
<rno>10</rno>
<insurance type="primary">
<id>001</id>
<gno>205</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>202</id>
<gno>305</gno>
<addr>Shimoga</addr>
</insurance>
<mp>liver</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Sharath</fname>
<mname>k</mname>
<lname>r</lname>
</name>
<ssn>053</ssn>
<age>21</age>
<rno>11</rno>
<insurance type="primary">
<id>002</id>
<gno>206</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>203</id>
<gno>306</gno>
<addr>Shimoga</addr>
</insurance>
<mp>heart</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Guru</fname>
<mname>raj</mname>
<lname>a</lname>
</name>
<ssn>055</ssn>
<age>22</age>
<rno>12</rno>
<insurance type="primary">
<id>003</id>
<gno>206</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>203</id>
<gno>307</gno>
<addr>Shimoga</addr>
</insurance>
<mp>lungs</mp>
<dg>nill</dg>
</patient>
<patient>
<name>
<fname>Amith</fname>
<mname>s</mname>
<lname>s</lname>
</name>
<ssn>057</ssn>
<age>23</age>
<rno>13</rno>
<insurance type="primary">
<id>206</id>
<gno>309</gno>
<addr>Shimoga</addr>
</insurance>
<insurance type="sec">
<id>209</id>
<gno>309</gno>
<addr>Shimoga</addr>
</insurance>
<mp>Bp</mp>
<dg>nill</dg>
</patient>
</patients>
P.CSS
patient
{
display:block;
border:solid blue 2px;
padding:4px;
margine-left:5%;
}
name
{
color:red;
font-famiily:script;
font-weight:bold;
font-size:30;
margine-left:5%;
}
ssn
{
display:block;
color:green;
font-family:Arial;
font-size:14;
margine-left:5%;
}
age
{
display:block;
color:yelloy;
font-family:Arial;
font-size:14;
margine-left:5%;
}
rno
{
display:block;
color:cyan;
font-family:Arial;
font-size:14;
margine-left:5%;
}
insurance
{
display:block;
color:orange;
font-family:Arial;
font-size:14;
margine-left:5%;
}
mp
{
display:block;
color:blue;
font-family:Arial;
font-size:14;
margine-left:5%;
}
dg
{
display:block;
color:violet;
font-family:Arial;
font-size:14;
margine-left:5%;
}