]> granicus.if.org Git - docbook-dsssl/commitdiff
A wrapper for grouping some Reference and Refentry instances.
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 13 Oct 2005 00:56:08 +0000 (00:56 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 13 Oct 2005 00:56:08 +0000 (00:56 +0000)
testdocs/tests/book.008.xml [new file with mode: 0644]

diff --git a/testdocs/tests/book.008.xml b/testdocs/tests/book.008.xml
new file mode 100644 (file)
index 0000000..ea286b4
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+
+<!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.chapter.class "| xi:include">
+]>
+<book id="book">
+  <bookinfo>
+    <title>Unit Test: book.001</title>
+    <subtitle>Wrapper for some References and Refentries</subtitle>
+    <releaseinfo role="CVS">$Id$</releaseinfo>
+    <corpauthor>DocBook Project Development Team</corpauthor>
+  </bookinfo>
+  <xi:include href="reference.001.xml"/>
+  <xi:include href="reference.002.xml"/>
+
+  <reference>
+    <title>Some Xincluded Refentry instances</title>
+  <xi:include href="refentry.005.xml"/>
+  <xi:include href="refentry.006.xml"/>
+  </reference>
+
+</book>