O'Reilly logo

Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition by 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 4.1 contains a short example.

Listing 4.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 text editor like the one installed ...

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