summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/xpath_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/samples/xpath_error.cpp b/docs/samples/xpath_error.cpp
index 6858f7c..1ecb41b 100644
--- a/docs/samples/xpath_error.cpp
+++ b/docs/samples/xpath_error.cpp
@@ -7,7 +7,7 @@ int main()
pugi::xml_document doc;
if (!doc.load_file("xgconsole.xml")) return -1;
-//[code_xpath_errors
+//[code_xpath_error
// Exception is thrown for incorrect query syntax
try
{