-------------------------------- file .xml ---------------------------------

<?xml version="1.0" encoding="TIS-620"?>
<?xml-stylesheet type="text/css" href="css_position.css"?>

<personal>
<header>ทดสอบการใช้ CSS_position ก็แสดงผลแบบ html ได้เลยนะ</header>
<person>
<nicname>KunYingPle</nicname>
<name>Miss Supawadee Thongkum</name>
<posi>Computer System Analysis </posi>
<add>Nontaburi</add>
</person>
<person>
<nicname>KunYingPukka</nicname>
<name>Miss Panita Boonme</name>
<posi>Computer System Analysis </posi>
<add>Samutprakarn</add>
</person>
<person>
<nicname>KunChayYai</nicname>
<name>Mr...........................</name>
<posi>Computer System Analysis </posi>
<add>Bangkok</add>
</person>
<person>
<nicname>KunChaylek</nicname>
<name>Mr..........................</name>
<posi>Computer System Analysis </posi>
<add>Bangkok</add>
</person>

</personal>

---------------------------file css_position.css -----------------------------

body
{
background-color: #ffffff;

}
header{
display:block;
font-size:20;
color:red;
font-weight:bolder;
float:right;
width:600pt;
}
personal {
display:block;
font-size:12pt;
font-face:MS Sans Serif;
font-weight:bolder;


}
person{
display:block;
border:dotted 1pt #366FEF;
}

nicname{
display:block;
float:right;
width:100pt;

color:#FFFFFF;
background-color:#FF99FF;


}
name,posi,add,person{
display:block;
}
result -->