水木社区手机版
首页
|版面-Web开发(WebDev)|
新版wap站已上线
返回
1/1
|
转到
主题:XPath字符串,以'/'开头和以'//'开头,这两者有什么区别嘛?
楼主
|
cling6394
|
2015-06-14 20:28:07
|
只看此ID
单斜线开头的XPath和双斜线开头的,具体区别在哪里呢? 还是可以通用?
谢谢。
--
FROM 114.253.243.*
1楼
|
qunshan
|
2015-06-15 13:51:53
|
只看此ID
Expression Description
/ Selects from the root node
// Selects nodes in the document from the current node that match the selection no matter where they are
--
FROM 222.190.111.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版