XML文件: foo.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="foo.css"?>
<FOO>
Hello XML!
</FOO>
样式表文件:foo.css
FOO {display: block; font-size: 24pt ;font-weight:bold;text-align:center}
XML文件: foo.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="foo.css"?>
<FOO>
Hello XML!
</FOO>
样式表文件:foo.css
FOO {display: block; font-size: 24pt ;font-weight:bold;text-align:center}