XML文档如何应用一个CSS样式?
下面是一个简单的例子:
config.css
#a1{ font-size:300px; color:red; }
#a2{ font-size:200px; color:yello; }
config.xml
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/css" href="config.css" ?>
<a>
<b>
<b1 id="a1">ss</b1>
<b2 id="a2">hh</b2>
</b>
</a>