diff options
Diffstat (limited to 'docs/samples/xpath_select.cpp')
-rw-r--r-- | docs/samples/xpath_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/samples/xpath_select.cpp b/docs/samples/xpath_select.cpp index 51ede61..74dad60 100644 --- a/docs/samples/xpath_select.cpp +++ b/docs/samples/xpath_select.cpp @@ -18,7 +18,7 @@ int main() std::cout << node.node().attribute("Filename").value() << "\n"; } - pugi::xpath_node build_tool = doc.select_single_node("//Tool[contains(Description, 'build system')]"); + pugi::xpath_node build_tool = doc.select_node("//Tool[contains(Description, 'build system')]"); if (build_tool) std::cout << "Build tool: " << build_tool.node().attribute("Filename").value() << "\n"; |