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;}
foo
}
浙公网安备 33010602011771号