link: Added example.xml and footnote style sheets
[docpond.git] / link / example.xml
diff --git a/link/example.xml b/link/example.xml
new file mode 100644 (file)
index 0000000..865ecb8
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<article version="5.0" xml:lang="en"
+        xmlns="http://docbook.org/ns/docbook"
+        xmlns:xi="http://www.w3.org/2001/XInclude"
+        xmlns:xlink="http://www.w3.org/1999/xlink">
+  <info>
+    <title>Making a link a footnote</title>
+    <titleabbrev>Linkfootnote</titleabbrev>
+    <author>
+      <personname>
+       <honorific>Mr</honorific>
+       <firstname>Fredrik</firstname>
+       <surname>Unger</surname>
+      </personname>
+      <email>fred@tree.se</email>
+      <affiliation>
+       <orgname>Tree.se</orgname>
+      </affiliation>
+    </author>
+    <pubdate>2013-07-29</pubdate>
+    <abstract>
+      <para>
+       Displaying a link as a footnote instead of the default in
+       text representation.
+      </para>
+    </abstract>
+  </info>
+  <section><title>Example code</title>
+  <para>
+    Sometimes a link in the text to a website is better not
+    interspersed in the text as the default processing but put as a
+    footnote. This makes the text easier to read but still providing
+    the link. By using overloading the style sheet the docbook xml can
+    be kept the same.
+  </para>
+  <para>
+    There is a <link xlink:href="http://example.com">domain</link>
+    that is established to be used for illustrative examples in
+    documents. One can use this domain in examples without prior
+    coordination or asking for permission.
+  </para>
+  </section>
+</article>