diff --git a/reference/ingres-ii/book.xml b/reference/ingres-ii/book.xml
new file mode 100644
index 0000000000..04c5ab98ae
--- /dev/null
+++ b/reference/ingres-ii/book.xml
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+ Ingres II
+
+
+
+ &reftitle.intro;
+
+ These functions allow you to access Ingres II database servers.
+
+
+
+ If you already used PHP extensions to access other database
+ servers, note that Ingres doesn't allow concurrent queries and/or
+ transaction over one connection, thus you won't find any result
+ or transaction handle in this extension. The result of a query
+ must be treated before sending another query, and a transaction
+ must be committed or rolled back before opening another
+ transaction (which is automatically done when sending the first
+ query).
+
+
+
+
+
+ &reference.ingres-ii.setup;
+ &reference.ingres-ii.constants;
+ &reference.ingres-ii.examples;
+ &reference.ingres-ii.reference;
+
+
+
+
+
diff --git a/reference/ingres-ii/constants.xml b/reference/ingres-ii/constants.xml
index 6b48b2548f..be6c455105 100644
--- a/reference/ingres-ii/constants.xml
+++ b/reference/ingres-ii/constants.xml
@@ -1,6 +1,6 @@
-
-
+
+
&reftitle.constants;
&extension.constants;
@@ -301,7 +301,7 @@
-
+
+
+
+ &reftitle.examples;
+
+
+ This simple example shows how to connect, execute a query, print
+ resulting rows and disconnect from an Ingres database.
+
+ Simple Ingres Example
+
+\n";
+while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) {
+ echo "\t
\n";
+ echo "\t\t
" . $iirelation->relid . "
\n";
+ echo "\t\t
" . $iirelation->relowner . "
\n";
+ echo "\t
\n";
+}
+echo "\n";
+
+// Commit transaction
+ingres_commit($link);
+// Closing connection
+ingres_close($link);
+?>
+]]>
+
+
+
+
+
+
+
+
diff --git a/reference/ingres-ii/reference.xml b/reference/ingres-ii/reference.xml
index d34a937fe3..51c3e1be48 100644
--- a/reference/ingres-ii/reference.xml
+++ b/reference/ingres-ii/reference.xml
@@ -1,97 +1,8 @@
-
-
-
+
- Ingres II Functions
- Ingres II
-
-
-
- &reftitle.intro;
-
- These functions allow you to access Ingres II database servers.
-
-
-
- If you already used PHP extensions to access other database
- servers, note that Ingres doesn't allow concurrent queries and/or
- transaction over one connection, thus you won't find any result
- or transaction handle in this extension. The result of a query
- must be treated before sending another query, and a transaction
- must be committed or rolled back before opening another
- transaction (which is automatically done when sending the first
- query).
-
-
-
-
-
- &reftitle.required;
-
- To compile PHP with Ingres support, you need the Ingres OpenAPI library
- and header files.
-
-
-
- &reference.ingres-ii.configure;
-
- &reference.ingres-ii.ini;
-
-
- &reftitle.resources;
-
- ingres_connect and
- ingres_pconnect return an Ingres II link identifier.
-
-
-
- &reference.ingres-ii.constants;
-
-
- &reftitle.examples;
-
- This simple example shows how to connect, execute a query, print
- resulting rows and disconnect from an Ingres database.
-
- Simple Ingres Example
-
-\n";
-while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) {
- echo "\t
\n";
- echo "\t\t
" . $iirelation->relid . "
\n";
- echo "\t\t
" . $iirelation->relowner . "
\n";
- echo "\t
\n";
-}
-echo "\n";
-
-// Commit transaction
-ingres_commit($link);
-// Closing connection
-ingres_close($link);
-?>
-]]>
-
-
-
-
-
+ Ingres II &Functions;
&reference.ingres-ii.entities.functions;
diff --git a/reference/ingres-ii/setup.xml b/reference/ingres-ii/setup.xml
new file mode 100644
index 0000000000..e3ed4ceffa
--- /dev/null
+++ b/reference/ingres-ii/setup.xml
@@ -0,0 +1,57 @@
+
+
+
+
+ &reftitle.setup;
+
+
+
+ &reftitle.required;
+
+ To compile PHP with Ingres support, you need the Ingres OpenAPI library
+ and header files.
+
+
+
+
+
+ &reference.ingres-ii.configure;
+
+
+
+ &reference.ingres-ii.ini;
+
+
+
+
+ &reftitle.resources;
+
+ ingres_connect and
+ ingres_pconnect return an Ingres II link identifier.
+
+
+
+
+
+
+
+