/usr/share/doc/docbook-xsl-saxon/examples/saxon.ext.001.xml is in docbook-xsl-saxon 1.00.dfsg.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
<!ENTITY ex_co_defguide.xml SYSTEM "ex_co_defguide.xml">
<!ENTITY ex_co_bstayton.xml SYSTEM "ex_co_bstayton.xml">
<!ENTITY ex_linenumber.xml SYSTEM "ex_linenumber.xml">
<!ENTITY ex_textdata.xml SYSTEM "ex_textdata.xml">
<!ENTITY ex_textdata_linenumber_pi.xml SYSTEM "ex_textdata_linenumber_pi.xml">
<!ENTITY ex_textdata_co_linenumber_pi.xml SYSTEM "ex_textdata_co_linenumber_pi.xml">
<!ENTITY ex_tablewidth.xml SYSTEM "ex_tablewidth.xml">
<!ENTITY ex_imagedata.xml SYSTEM "ex_imagedata.xml">
]>
<article id="saxon.ext.001">
<articleinfo>
<title>Unit Test: saxon.ext.001.xml</title>
<releaseinfo role="SVN">$Id: saxon.ext.001.xml 921 2007-10-07 21:05:07Z dleidert-guest $</releaseinfo>
<author>
<firstname>Daniel</firstname>
<surname>Leidert</surname>
<email>daniel.leidert@wgdd.de</email>
</author>
<legalnotice>
<para>An article from the docbook-xsl testdocs repository was used for this test. Several examples were taken from <personname><firstname>Bob</firstname><surname>Staytons</surname></personname> book <citetitle pubwork="book">DocBook XSL: The Complete Guide</citetitle> (with written permission by <personname><firstname>Bob</firstname><surname>Stayton</surname></personname>) and <personname><firstname>Norman</firstname><surname>Walshs</surname></personname> book <citetitle pubwork="book">DocBook: The Definitive Guide</citetitle>. The file is provided under the same license as the docbook-xsl package.</para>
<para>The open Debian logo was taken from <ulink url="http://www.debian.org/logos/"/>.</para>
</legalnotice>
<abstract>
<para>This is the abstract.</para>
<para>It has several paras. This one.</para>
<para>And here is another one.</para>
</abstract>
</articleinfo>
<para>This is an test for the extensions provided by the docbook-xsl-saxon extensions.</para>
<example>
<blockinfo>
<bibliosource class="uri">http://docbook.org/tdg/en/html/programlistingco.html</bibliosource>
</blockinfo>
<title><parameter>callouts.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_co_defguide.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_co_defguide.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#Callouts</bibliosource>
</blockinfo>
<title><parameter>callouts.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_co_bstayton.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_co_bstayton.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://docbook.org/tdg/en/html/programlistingco.html</bibliosource>
</blockinfo>
<title><parameter>linenumbering.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_linenumber.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_linenumber.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html</bibliosource>
</blockinfo>
<title><parameter>textinsert.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_textdata.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#LineNumbering</bibliosource>
</blockinfo>
<title><parameter>linenumbering.extension</parameter> and <parameter>textinsert.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata_linenumber_pi.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_textdata_linenumber_pi.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://www.sagehill.net/docbookxsl/AnnotateListing.html#Callouts</bibliosource>
</blockinfo>
<title><parameter>callouts.extension</parameter>, <parameter>linenumbering.extension</parameter> and <parameter>textinsert.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_textdata_co_linenumber_pi.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_textdata_co_linenumber_pi.xml;
</example>
<example>
<blockinfo>
<bibliosource class="uri">http://docbook.org/tdg/en/html/table.html</bibliosource>
<bibliosource class="uri">http://www.sagehill.net/docbookxsl/ColumnWidths.html</bibliosource>
</blockinfo>
<title><parameter>tablecolumns.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_tablewidth.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_tablewidth.xml;
</example>
<example>
<!-- <blockinfo>
<bibliosource class="uri"></bibliosource>
</blockinfo> -->
<title><parameter>graphicsize.extension</parameter></title>
<para>XML code:</para>
<screen><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ex_imagedata.xml" parse="text"></xi:include></screen>
<para>Result:</para>
&ex_imagedata.xml;
</example>
<ackno>Thanks to Bob Stayton for his written permission to use the examples found in his book <ulink url="http://www.sagehill.net/docbookxsl/"><citetitle>DocBook XSL: The Complete Guide</citetitle></ulink>.</ackno>
</article>
|