+ -
当前位置:首页 → 问答吧 → 关于 | 的问题

关于 | 的问题

时间:2011-07-05

来源:互联网

选取两种结点, 有相同的属性:

比如 一个名为 td .//td[@a=1 and @b=2 and @c=3 ..............................@z=26]

另一个名为 th, 如果结合起来写

因为 //td|th 好像有问题, 难道我只能写成 

.//td[@a=1 and @b=2 and @c=3 ..............................@z=26] | .//th[@a=1 and @b=2 and @c=3 ..............................@z=26]

不知道说明白没有

作者: madpc   发布时间: 2011-07-05

帮顶 避免杯具

作者: inetfuture   发布时间: 2011-07-07

热门下载

更多