diff options
author | Lee Thomason <leethomason@gmail.com> | 2017-12-10 20:03:39 -0800 |
---|---|---|
committer | Lee Thomason <leethomason@gmail.com> | 2017-12-10 20:03:39 -0800 |
commit | cf1006943bf16f979611479dbb2ba6f033c6be18 (patch) | |
tree | 7ed87aabd91f669c2507d5d50d8edd95549a3e77 /xmltest.cpp | |
parent | 71b12596eb1f8c73d78ea1a785e1d5d89b970d07 (diff) | |
download | tinyxml2-cf1006943bf16f979611479dbb2ba6f033c6be18.tar.gz |
tweaking docs
Diffstat (limited to 'xmltest.cpp')
-rw-r--r-- | xmltest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmltest.cpp b/xmltest.cpp index 91494ec..0e8de61 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -112,7 +112,7 @@ int example_1() return doc.ErrorID();
}
-/** @page Example-1 Load an XML File
+/** @page Example_1 Load an XML File
* @dontinclude ./xmltest.cpp
* Basic XML file loading.
* The basic syntax to load an XML file from
@@ -131,7 +131,7 @@ int example_2() return doc.ErrorID();
}
-/** @page Example-2 Parse an XML from char buffer
+/** @page Example_2 Parse an XML from char buffer
* @dontinclude ./xmltest.cpp
* Basic XML string parsing.
* The basic syntax to parse an XML for
@@ -164,7 +164,7 @@ int example_3() return doc.ErrorID();
}
-/** @page Example-3 Get information out of XML
+/** @page Example_3 Get information out of XML
@dontinclude ./xmltest.cpp
In this example, we navigate a simple XML
file, and read some interesting text. Note
@@ -255,7 +255,7 @@ bool example_4() return !doc.Error() && ( v0 == v1 );
}
-/** @page Example-4 Read attributes and text information.
+/** @page Example_4 Read attributes and text information.
@dontinclude ./xmltest.cpp
There are fundamentally 2 ways of writing a key-value
@@ -338,10 +338,10 @@ int main( int argc, const char ** argv ) }
fclose( fp );
- XMLTest( "Example-1", 0, example_1() );
- XMLTest( "Example-2", 0, example_2() );
- XMLTest( "Example-3", 0, example_3() );
- XMLTest( "Example-4", true, example_4() );
+ XMLTest( "Example_1", 0, example_1() );
+ XMLTest( "Example_2", 0, example_2() );
+ XMLTest( "Example_3", 0, example_3() );
+ XMLTest( "Example_4", true, example_4() );
/* ------ Example 2: Lookup information. ---- */
|