O'Reilly logo

Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition by Paul Hudson, Andrew Hudson, Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with XML and DocBook

Like its ancestor SGML and cousin HTML, XML is a markup language. It is designed for use in a plain-text document. Tags surround specific sections of the text to denote how that section is to be displayed. Listing 5.1 contains a short example.

LISTING 5.1 Sample XML Excerpt

<?xml version="1.0"?><xml-stylesheet type="text/css" href="book.css"?><book><title>Ubuntu Unleashed 2013</title><edition>8</edition><chapter>       <number>1</number>       <title>Installing Ubuntu</title>       <text>               <paragraph><dropcap>N</dropcap>ot that long ago,the mere mention...               </paragraph>       ...       </text></chapter>...</book>

This could easily be written using a simple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required