Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

What's New in DocBook V5.0? > Uniform info elements - Pg. 8

In DocBook V5.0, this can be written as the following: <section xml:id="dir"> <title>DIR command</title> <para>...</para> </section> <section xml:id="ls"> <title>LS command</title> <para>This command is a synonym for <command linkend="dir">DIR</command> command. </para> </section> In addition, the href attribute from the XLink namespace was added to the same set of inline elements as linkend . The following example shows how you can use href . Note that you need to declare the XLink namespace in your document instance to use this attribute: <article xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0"> <title>Test article</title> <para> <application xl:href="http://www.gnu.org/software/emacs/">Emacs</application> is my favourite text editor.</para> ... </article>