xml文件调用css

11/28/2006来源:xml技巧人气:18279

这些小东西是我在网上看到的就把它记下来了,可能以后会有用的:
         <?xml version="1.0" encoding="GB2312"?>
         <?xml-stylesheet type="text/CSS" href="resume.css"?>
         <resume>
         <name>禹希初</name>
         <sex>男</sex>
         <birthday>1977.5</birthday>
         <skill>数据库设计与维护、WEB开发</skill>
         </resume>


  resume.css文件

         resume{ display: block;}
         name{ display: block; font-size:120%;}
         sex{ display:block; text-indent:2em}
         birthday{ display:block; text-indent:2em}
         skill{ display:block; text-indent:2em}

http://www.cnblogs.com/hfyb/archive/2006/11/27/574486.html