summaryrefslogtreecommitdiff
path: root/documentation/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-18 11:18:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-18 11:18:11 +0200
commit1f532fbef3e224eeff5b4bb93a5209df9c08f245 (patch)
treea9ceac53c1f2fec2380672133785d44019c0bb7f /documentation/cxx
parent95f7c4722399964142aac1813c72f566d84d4d72 (diff)
Don't reference generated code
Diffstat (limited to 'documentation/cxx')
-rw-r--r--documentation/cxx/tree/dbxml/index.xhtml28
1 files changed, 13 insertions, 15 deletions
diff --git a/documentation/cxx/tree/dbxml/index.xhtml b/documentation/cxx/tree/dbxml/index.xhtml
index e4e01e6..07a7576 100644
--- a/documentation/cxx/tree/dbxml/index.xhtml
+++ b/documentation/cxx/tree/dbxml/index.xhtml
@@ -68,9 +68,19 @@
<p>Our examples will be based on simple XML for book library. The XML
Schema definition for the library is in
<a href="./library.xsd">library.xsd</a> and is compiled by XSD
- to obtain <a href="./library.hxx">library.hxx</a> and
- <a href="./library.cxx">library.cxx</a>. A sample XML document
- is presented below:</p>
+ to obtain <code>library.hxx</code> and <code>library.cxx</code>.
+ All C++ code fragments that are presented in this guide are available
+ as a single program in <a href="./driver.cxx">driver.cxx</a>.
+ The complete example is available in the
+ <code>examples/cxx/tree/dbxml</code> directory of the XSD distribution.</p>
+
+ <p>Note that due to the incomplete DOM API implementation provided by DB
+ XML (as of version 2.3.10), the generated code and your application
+ should be compiled with the <code>DBXML_DOM</code> macro defined in
+ order to avoid using unsupported parts of the API.
+ </p>
+
+ <p>A sample XML document for the library schema is presented below:</p>
<pre>
&lt;lib:catalog xmlns:lib="http://www.codesynthesis.com/library">
@@ -94,18 +104,6 @@
&lt;/lib:catalog>
</pre>
- <p>All C++ code fragments that are presented in this guide are available
- as a single program in <a href="./driver.cxx">driver.cxx</a>.
- The complete example is available in the
- <code>examples/cxx/tree/dbxml</code> directory of the XSD distribution.
- </p>
-
- <p>Note that due to the incomplete DOM API implementation provided by DB
- XML (as of version 2.3.10), the generated code and your application
- should be compiled with the <code>DBXML_DOM</code> macro defined in
- order to avoid using unsupported parts of the API.
- </p>
-
<h1>Create Document from Object Model</h1>
<p>In this step, we will programmatically create a book catalog