summaryrefslogtreecommitdiff
path: root/docs/samples/load_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples/load_file.cpp')
-rw-r--r--docs/samples/load_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/samples/load_file.cpp b/docs/samples/load_file.cpp
index f7b06c9..8b2191b 100644
--- a/docs/samples/load_file.cpp
+++ b/docs/samples/load_file.cpp
@@ -4,13 +4,13 @@
int main()
{
-//[code_load_file
+// tag::code[]
pugi::xml_document doc;
pugi::xml_parse_result result = doc.load_file("tree.xml");
std::cout << "Load result: " << result.description() << ", mesh name: " << doc.child("mesh").attribute("name").value() << std::endl;
-//]
+// end::code[]
}
// vim:et