1
是否可以使用XPathNavigator.Select選擇所選節點值的子字符串?XPath函數:substring,substring-after with XPathNavigator.Select
例如,我所要做的是:
xPath = @"//object/@data/substring-after(., '\')"
var pathNavigator = xdoc.CreateNavigator();
var pathNodeIterator = pathNavigator.Select(xPath);
太可惜了。謝謝。 – Dmitry 2012-07-09 09:57:44
@Dmitry,不客氣。 – 2012-07-09 10:00:19