From b43b5b2a9b5430e8e7034c08aff06e572da7b762 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Sep 2009 19:12:57 +0200 Subject: Cosmetic changes --- examples/cxx/tree/custom/contacts/README | 2 +- examples/cxx/tree/custom/taxonomy/README | 4 ++-- examples/cxx/tree/custom/wildcard/README | 4 ++-- examples/cxx/tree/library/README | 2 +- examples/cxx/tree/xpath/driver.cxx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'examples') diff --git a/examples/cxx/tree/custom/contacts/README b/examples/cxx/tree/custom/contacts/README index a3b237c..072ede3 100644 --- a/examples/cxx/tree/custom/contacts/README +++ b/examples/cxx/tree/custom/contacts/README @@ -20,7 +20,7 @@ contacts.cxx C++ types that represent the given vocabulary and a set of parsing functions that convert XML instance documents to a tree-like in-memory object model. These are generated by XSD from contacts.xsd with the - --custom-type option in order to to customize the contact type. + --custom-type option in order to customize the contact type. contacts-custom.hxx Header file which defines our own contact class by inheriting from the diff --git a/examples/cxx/tree/custom/taxonomy/README b/examples/cxx/tree/custom/taxonomy/README index addce83..356aef4 100644 --- a/examples/cxx/tree/custom/taxonomy/README +++ b/examples/cxx/tree/custom/taxonomy/README @@ -21,8 +21,8 @@ people.cxx C++ types that represent the given vocabulary and a set of parsing functions that convert XML instance documents to a tree-like in-memory object model. These are generated by XSD from people.xsd with the - --custom-type option in order to to customize the person, superman, - and batman types. Generation of the people-fwd.hxx forward declaration + --custom-type option in order to customize the person, superman, and + batman types. Generation of the people-fwd.hxx forward declaration file is requested with the --generate-forward option. people-custom-fwd.hxx diff --git a/examples/cxx/tree/custom/wildcard/README b/examples/cxx/tree/custom/wildcard/README index 5ca25c0..70eaea4 100644 --- a/examples/cxx/tree/custom/wildcard/README +++ b/examples/cxx/tree/custom/wildcard/README @@ -14,7 +14,7 @@ The example consists of the following files: wildcard.xsd XML Schema definition for simple data type and element. -contacts.xml +wildcard.xml Sample XML instance document. wildcard.hxx @@ -24,7 +24,7 @@ wildcard.cxx functions that convert XML instance documents to a tree-like in-memory object model, and a set of serialization functions that convert the object model back to XML. These are generated by XSD from wildcard.xsd - with the --custom-type option in order to to customize the data type. + with the --custom-type option in order to customize the data type. wildcard-custom.hxx Header file which defines our own data class by inheriting from the diff --git a/examples/cxx/tree/library/README b/examples/cxx/tree/library/README index 960d1d4..0b8638c 100644 --- a/examples/cxx/tree/library/README +++ b/examples/cxx/tree/library/README @@ -28,5 +28,5 @@ To run the example on the sample XML instance document simply execute: $ ./driver library.xml -This example also shows how to to use the ID/IDREF cross-referencing +This example also shows how to use the ID/IDREF cross-referencing mechanism and the xsd:enumeration to C++ enum mapping. diff --git a/examples/cxx/tree/xpath/driver.cxx b/examples/cxx/tree/xpath/driver.cxx index b55037b..f49e186 100644 --- a/examples/cxx/tree/xpath/driver.cxx +++ b/examples/cxx/tree/xpath/driver.cxx @@ -95,7 +95,7 @@ main (int argc, char* argv[]) // Iterate over the result. // - cout << "Records matching the query:" << endl; + cerr << "Records matching the query:" << endl; while (r->iterateNext ()) { @@ -109,7 +109,7 @@ main (int argc, char* argv[]) // Print the data using the object model. // - cout << endl + cerr << endl << "First : " << p->first_name () << endl << "Last : " << p->last_name () << endl << "Gender : " << p->gender () << endl -- cgit v1.1