r8219: doc fixes
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 16 Nov 2003 04:45:11 +0000 (04:45 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 16 Nov 2003 04:45:11 +0000 (04:45 +0000)
doc/hyperobject.xml
doc/xinclude.mod [new file with mode: 0644]

index 1c0cf26fd0c1d268f617a4f4bc5ef34e088f9e87..92f3734328d50f3c1f61af2699107c1ee3df4a94 100644 (file)
@@ -2,10 +2,11 @@
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
 <!ENTITY % myents SYSTEM "entities.xml">
+<!ENTITY % xinclude SYSTEM "xinclude.mod">
 %myents;
+%xinclude;
 ]>
 
-
 <book lang="en">
   <xi:include href="bookinfo.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
   <xi:include href="intro.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
diff --git a/doc/xinclude.mod b/doc/xinclude.mod
new file mode 100644 (file)
index 0000000..94c13b6
--- /dev/null
@@ -0,0 +1,24 @@
+<!ELEMENT xi:include (xi:fallback?) >
+<!ATTLIST xi:include
+    xmlns:xi   CDATA       #FIXED    "http://www.w3.org/2001/XInclude"
+    href       CDATA       #REQUIRED
+    parse      (xml|text)  "xml"
+    encoding   CDATA       #IMPLIED >
+
+<!ELEMENT xi:fallback ANY>
+<!ATTLIST xi:fallback
+    xmlns:xi   CDATA   #FIXED   "http://www.w3.org/2001/XInclude" >
+
+<!ENTITY % local.book.class "| xi:include">
+
+<!-- inside book elements -->
+<!ENTITY % local.chapter.class "| xi:include">
+<!-- inside chapter or section elements -->
+<!ENTITY % local.divcomponent.mix "| xi:include">
+<!-- inside para, programlisting, literallayout, etc. -->   
+<!ENTITY % local.para.char.mix "| xi:include">
+<!-- inside bookinfo, chapterinfo, etc. -->      
+<!ENTITY % local.info.class "| xi:include">         
+
+<!-- used for xml:base in docbook 4.2 and prior -->
+<!ENTITY % local.common.attrib "xml:base  CDATA  #IMPLIED">