Due to a poor choice in function names 1, many people mistakenly accept a goal in XPath: contains()
- XPath
contains()checks not an element
containment. - XPath
contains() .
, tr[contains(.,input)] , , , . tr, , input; . . (, true, .) , .
, , .//input. tr, XPath , tr , ,
//table//tbody//tr[position()=1 and .//input]
table ( @Andersson), table , , input :
XPath contains() string-contains()
1 XML, , , . 24 XPath, 19 node ; 5 . , contains(). XPath contains() string-contains().