我用web service 生成了一个XML格式的数据为
 <string xmlns="http://www.hnmovie.net/webservices/"><NewDataSet> <TableShowScores> <UserTypeName>注册会员</UserTypeName> <UserType>0</UserType> </TableShowScores> <TableShowScores> <UserTypeName>普通付费会员</UserTypeName> <UserType>1</UserType> </TableShowScores> <TableShowScores> <UserTypeName>高级付费会员</UserTypeName> <UserType>2</UserType> </TableShowScores> <TableShowScores> <UserTypeName>VIP会员</UserTypeName> <UserType>3</UserType> </TableShowScores> </NewDataSet></string>
--------------------------------------------------------------------------------------
前台用
<xml id="xmlData" src="http://localhost/PageTest/WebService.asmx/GetScores"></xml>
<table datasrc="#xmlData" width="500" border="0" cellspacing="1" cellpadding="1">
<thead>
<tr bgcolor="#0033cc" style="COLOR: #ffffff">
<td width="50%" nowrap>用户类型名</td>
<td width="50%" nowrap>用户类型编号</td>
</tr>
</thead>
<tbody>
<tr bgcolor="#0033cc" style="COLOR: #ffffff">
<td width="50%" nowrap><span datafld="UserTypeName"></span></td>
<td width="50%" nowrap><span datafld="UserType"></span></td>
</tr>
</tbody>
<tfoot>
</tfoot>
</table>
绑定无法显示。后把XML<string xmlns="http://www.hnmovie.net/webservices/"></string>去掉保存为名为XMLFile1.XML的XML文件,用<xml id="xmlData" src="XMLFile1.XML"></xml>绑定就可以了想请问如何直接从web service 生成的XML里绑定数据啊?