给出以下XML结构
Test: Text2 Test: Text3 Test: Text5
什么是最好的XPath查询来查找任何span以Test?开头的文本?
span
Test
//span[starts-with(.,'Test')]
参考文献:
http://www.w3.org/TR/xpath/#function-starts-with
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/starts-with