book.XML:
<?XML version="1.0" encoding="gb2312"?>
<?XML-stylesheet type="text/Css" href="book.CSS"?>
<book>
<name>Java高級編程</name>
<author>董錦升</author>
</book>
book.CSS:
book {
background-color: #CCCCCC;
z-index: 0;
width: 100%;
height: 100%;
position: absolute;
left: 1px;
top: 1px;
}
name {
color: #FF00FF;
left: 10px;
top: 10px;
}
author{
color: #FF00FF;
left: 10px;
top: 10px;
}