aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/tree/xpath/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/tree/xpath/driver.cxx')
-rw-r--r--examples/cxx/tree/xpath/driver.cxx4
1 files changed, 2 insertions, 2 deletions
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