]> granicus.if.org Git - docbook-dsssl/commitdiff
Added local tests
authorNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 11:37:43 +0000 (11:37 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 11:37:43 +0000 (11:37 +0000)
docbook/relaxng/docbook/tests/local/xinc.xml [new file with mode: 0644]

diff --git a/docbook/relaxng/docbook/tests/local/xinc.xml b/docbook/relaxng/docbook/tests/local/xinc.xml
new file mode 100644 (file)
index 0000000..dcef9e5
--- /dev/null
@@ -0,0 +1,55 @@
+<book xmlns="http://docbook.org/ns/docbook" version="lillet"
+      xmlns:xi="http://www.w3.org/2001/XInclude">
+<info>
+  <title>XInclude Test</title>
+  <abstract>
+    <para>This test checks to see that XInclude is allowed in the right
+places. It should be validated before XInclude expansion, none of the
+XInclude hrefs are actually expected to work.</para>
+  </abstract>
+</info>
+
+<chapter>
+<title>Some title</title>
+
+<section>
+<title>Section title</title>
+<para>Some content.</para>
+</section>
+
+<xi:include href="somecontent"/>
+
+</chapter>
+
+<xi:include href="somecontent"/>
+
+<chapter>
+<title>Some title</title>
+<para>Some content.</para>
+
+<refentry>
+<refnamediv>
+<refname>name</refname>
+<refpurpose>purpose</refpurpose>
+</refnamediv>
+<refsect1>
+<title>refsect</title>
+<para>Some content.</para>
+</refsect1>
+</refentry>
+
+<xi:include href="somecontent"/>
+
+<refentry>
+<refnamediv>
+<refname>name</refname>
+<refpurpose>purpose</refpurpose>
+</refnamediv>
+<refsect1>
+<title>refsect</title>
+<para>Some content.</para>
+</refsect1>
+</refentry>
+</chapter>
+
+</book>