xml 解析 ----使用CSS

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<?xml-stylesheet type="text/css" href="StyleSheet1.css" ?>
<!--第一次没解析出来,是因为type=“text/css2”-->
<foo>    
    hello xml!
</foo>

StyleSheet1.css要和要作用于其上的XML文件位于同一目录下:

foo
{display:block;font-size:24pt;font-weight:bold;}

posted on 2007-10-29 14:26  simhare  阅读(196)  评论(0)    收藏  举报

导航