link: Added example.xml and footnote style sheets
[docpond.git] / link / example.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <article version="5.0" xml:lang="en"
3          xmlns="http://docbook.org/ns/docbook"
4          xmlns:xi="http://www.w3.org/2001/XInclude"
5          xmlns:xlink="http://www.w3.org/1999/xlink">
6   <info>
7     <title>Making a link a footnote</title>
8     <titleabbrev>Linkfootnote</titleabbrev>
9     <author>
10       <personname>
11         <honorific>Mr</honorific>
12         <firstname>Fredrik</firstname>
13         <surname>Unger</surname>
14       </personname>
15       <email>fred@tree.se</email>
16       <affiliation>
17         <orgname>Tree.se</orgname>
18       </affiliation>
19     </author>
20     <pubdate>2013-07-29</pubdate>
21     <abstract>
22       <para>
23         Displaying a link as a footnote instead of the default in
24         text representation.
25       </para>
26     </abstract>
27   </info>
28   <section><title>Example code</title>
29   <para>
30     Sometimes a link in the text to a website is better not
31     interspersed in the text as the default processing but put as a
32     footnote. This makes the text easier to read but still providing
33     the link. By using overloading the style sheet the docbook xml can
34     be kept the same.
35   </para>
36   <para>
37     There is a <link xlink:href="http://example.com">domain</link>
38     that is established to be used for illustrative examples in
39     documents. One can use this domain in examples without prior
40     coordination or asking for permission.
41   </para>
42   </section>
43 </article>