diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/cxx/parser/guide/index.xhtml | 7 | ||||
-rw-r--r-- | documentation/cxx/serializer/guide/index.xhtml | 10 |
2 files changed, 14 insertions, 3 deletions
diff --git a/documentation/cxx/parser/guide/index.xhtml b/documentation/cxx/parser/guide/index.xhtml index 90da54a..9dc9764 100644 --- a/documentation/cxx/parser/guide/index.xhtml +++ b/documentation/cxx/parser/guide/index.xhtml @@ -1712,6 +1712,8 @@ namespace http://www.w3.org/2001/XMLSchema { include <string>; + anySimpleType std::string; + string std::string; normalizedString std::string; token std::string; @@ -1732,6 +1734,8 @@ namespace http://www.w3.org/2001/XMLSchema <pre class="type-map"> namespace http://www.w3.org/2001/XMLSchema { + anySimpleType char*; + string char*; normalizedString char*; token char*; @@ -3169,7 +3173,8 @@ main (int argc, char* argv[]) <tr> <td><code>anySimpleType</code></td> <td><code>any_simple_type_pimpl</code></td> - <td><code>void</code></td> + <td><code>std::string</code> or <code>char*</code><br/> + <a href="#5.1">Section 5.1, "Standard Template Library"</a></td> </tr> <tr> diff --git a/documentation/cxx/serializer/guide/index.xhtml b/documentation/cxx/serializer/guide/index.xhtml index 5e1dca1..e04667f 100644 --- a/documentation/cxx/serializer/guide/index.xhtml +++ b/documentation/cxx/serializer/guide/index.xhtml @@ -1789,6 +1789,8 @@ namespace http://www.w3.org/2001/XMLSchema { include <string>; + anySimpleType std::string; + string std::string; normalizedString std::string; token std::string; @@ -1809,6 +1811,8 @@ namespace http://www.w3.org/2001/XMLSchema <pre class="type-map"> namespace http://www.w3.org/2001/XMLSchema { + anySimpleType "const char*"; + string "const char*"; normalizedString "const char*"; token "const char*"; @@ -4057,7 +4061,8 @@ main () <tr> <td><code>anySimpleType</code></td> <td><code>any_simple_type_simpl</code></td> - <td><code>void</code></td> + <td><code>const std::string&</code> or<br/> <code>const char*</code><br/> + <a href="#7.2">Section 7.2, "String-Based Type Serializers"</a></td> </tr> <tr> @@ -4428,7 +4433,8 @@ namespace xml_schema <code>normalizedString</code>, <code>token</code>, <code>Name</code>, <code>NMTOKEN</code>, <code>NCName</code>, <code>ID</code>, <code>IDREF</code>, <code>language</code>, - and <code>anyURI</code> built-in XML Schema types is + <code>anyURI</code>, and <code>anySimpleType</code> built-in XML Schema + types is <code>const std::string&</code>. When STL is disabled, the value is passed as a constant C-string: <code>const char*</code>. In this case, you can also instruct the serializer |