所有分求问 关于数据岛的
比如有个xml
<root>
<a>
<b>
<c> 这是c </c>
</b>
<d> 这是d </d>
</a>
</root>
如果我需要 显示b中的c的值
我需要通过
<table datasrc= "#xmldata " datafld= "c ">
来取到c
层次多的话,就可能是很多的 table
有 其他标记可以替代吗
div好像不行 要没有格式的 标记
[解决办法]
本来就是需要多重Table的
<xml id= "test ">
<root>
<a>
<b>
<c> 这是c </c>
</b>
<d> 这是d </d>
</a>
</root>
</xml>
<table datasrc= "#test ">
<tr>
<td>
<table datasrc= "#test " datafld= "a ">
<tr>
<td>
<table datasrc= "#test " datafld= "b "> <tr>
<td> <span datafld= "c "> </span> </td> </tr>
</table>
</td>
<td> <table datasrc= "#test "> <tr> <td>
<span datafld= "d "> </span> </td> </tr>
</table>
</td>
</table>
</td>
</tr>
</table>