r8112: convert from entities chapters to xinclude
[uffi.git] / doc / uffi.xml
index be358db7ca8da9acc89716bc127f5e81841856fe..0ab0a915f120023d4f1d0aabb6eddfdcae080306 100644 (file)
@@ -1,38 +1,22 @@
 <?xml version='1.0' ?>   <!-- Mode: Docbook --> 
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                "file:///usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
-<!ENTITY uffi "<application><emphasis>UFFI</emphasis></application>">
-<!ENTITY ffi "<acronym>FFI</acronym>">
-<!ENTITY cmucl "<application>CMUCL</application>">
-<!ENTITY scl "<application>SCL</application>">
-<!ENTITY lw "<application>Lispworks</application>">
-<!ENTITY sbcl "<application>SBCL</application>">
-<!ENTITY openmcl "<application>OpenMCL</application>">
-<!ENTITY mcl "<application>MCL</application>">
-<!ENTITY acl "<application>AllegroCL</application>">
-<!ENTITY cl "<application>ANSI Common Lisp</application>">
-<!ENTITY t "<constant>T</constant>">
-<!ENTITY nil "<constant>NIL</constant>">
-<!ENTITY null "<constant>NULL</constant>">
-<!ENTITY c "<computeroutput>C</computeroutput>">
-<!ENTITY defsystem "<application>defsystem</application>">
-<!ENTITY asdf "<application>ASDF</application>">
-<!ENTITY bookinfo SYSTEM "bookinfo.xml">
-<!ENTITY preface SYSTEM "preface.xml">
-<!ENTITY intro SYSTEM "intro.xml">
-<!ENTITY notes SYSTEM "notes.xml">
-<!ENTITY ref SYSTEM "ref.xml">
-<!ENTITY appendix SYSTEM "appendix.xml">
-<!ENTITY glossary SYSTEM "glossary.xml">
+<!ENTITY % myents SYSTEM "entities.xml">
+%myents;
 ]>
 
 
-<book>
-  &bookinfo;
-  &preface;
-  &intro;
-  &notes;
-  &ref;
-  &appendix;
-  &glossary;
+<book xmlns:xi="http://www.w3.org/2001/XInclude">
+  <xi:include href="bookinfo.xml" />
+  <xi:include href="preface.xml" />
+  <xi:include href="intro.xml" />
+  <xi:include href="notes.xml" />
+  <xi:include href="ref_declare.xml" />
+  <xi:include href="ref_primitive.xml" />
+  <xi:include href="ref_aggregate.xml" />
+  <xi:include href="ref_object.xml" />
+  <xi:include href="ref_string.xml" />
+  <xi:include href="ref_func_libr.xml" />
+  <xi:include href="appendix.xml" />
+  <xi:include href="glossary.xml" />
 </book>