努力的zhiyi 2012-12-11
代码如下:
<?xml version="1.0" encoding="UTF-8"?> <resume> <name>mike</name> <age>29</age> </resume>
代码如下:
<html> <body> <XML id="myds" src="kg.xml"></XML> <table datasrc="myds"> <tr> <td><div datafld="resume:name"/></div></td> <td><div datafld="name"/></div></td> <td><div datafld="age"/></div></td> </tr> </table> </body> </html>
代码如下:
<?xml version="1.0" encoding="UTF-8"?> <resume> <name>mike</name> <age>29</age> </resume>
代码如下:
<xml id="XMLData" src="test.xml"></xml> <table id="tblbooks" datasrc="#XMLData" border=1 datapagesize=2 width="100%"> <thead> <th style="font-style: blod">姓名</th> <th style="font-style: blod">年纪</th> </thead> <tr> <td><span datafld="name"></span></td> <td><span datafld="age"></span></td> </tr> </table>