Listing 1 - DocBook Sample

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
http://www.oasis-open.org/docbook/xml/4.2/docbokx.dtd>
<book>
<bookinfo>
<title>The Benefits of XML</title>
<author>
<firstname>Timothy</firstname>
<surname>Fisher</surname>
</author>
<copyright>
<year>2003</year>
</copyright>
</bookinfo>
<chapter>
<title>Introduction to XML</title>
<sect1>
<title>History of XML</title>
<para>This is a paragraph.</para>
<para>
<emphasis role="bold">
This is a paragraph in bold.
</emphasis>
</para>
</sect1>
<sect1>
<title>Creating an XML Document</title>
<sect2>
<title>XML Syntax</title>
<para>Some text about syntax.</para>
<figure>
<title>Picture of Sample XML Document</title>
<mediaobject>
<imageobject>
<imagedata fileref="" format="JPG"/>
</imageobject>
</mediaobject>
</figure>
<para>Another paragraph of text.</para>
<example>
<title>XML Code Listing</title>
<programlisting>
Sample code listing goes here.
</programlisting>
</example>
</sect2>
</sect1>
</chapter>
<appendix>
<title>Appendix A</title>
...
</appendix>
<index>
...
</index>
</book>

Listing 2 - Maven Project Object Model

<?xml version="1.0"?>
<project>
<pomVersion>3</pomVersion>
<name>maven</name>
<id>maven</id>
<currentVersion>1.0-b4-dev</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>

<shortDescription>Java Project Management Tools</shortDescription>

<!-- Gump integration -->
<gumpRepositoryId>jakarta</gumpRepositoryId>

<description>
Maven is a project management and project comprehension
tool. Maven is based on the concept of a project object
model: builds, documentation creation, site publication,
and distribution publication are all controlled from the
project object model. Maven also provides tools to
create source metrics, change logs based directly on
source repository, and source cross-references.
</description>

<url>http://maven.apache.org/</url>
<issueTrackingUrl>
http://nagoya.apache.org/scarab/servlet/scarab/
</issueTrackingUrl>
<siteAddress>jakarta.apache.org</siteAddress>
<siteDirectory>
/www/maven.apache.org/
</siteDirectory>
<distributionDirectory>
/www/jakarta.apache.org/builds/jakarta-turbine-maven/
</distributionDirectory>

<repository>
<connection>
scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven
</connection>
<url>
http://cvs.apache.org/viewcvs/maven/
</url>
</repository>

<versions>
<version>
<id>b3</id>
<name>1.0-b3</name>
<tag>MAVEN_1_0_B3</tag>
</version>
<version>
<id>b4</id>
<name>1.0-b4</name>
<tag>HEAD</tag>
</version>
</versions>

<mailingLists>
<mailingList>
<name>Maven User List</name>
<subscribe>
users-subscribe@maven.apache.org
</subscribe>
<unsubscribe>
users-unsubscribe@maven.apache.org
</unsubscribe>
<archive>
http://www.mail-archive.com/users@maven.apache.org/
</archive>
</mailingList>
<mailingList>
<name>Maven Developer List</name>
<subscribe>
dev-subscribe@maven.apache.org
</subscribe>
<unsubscribe>
dev-unsubscribe@maven.apache.org
</unsubscribe>
<archive>
http://www.mail-archive.com/dev@maven.apache.org/
</archive>
</mailingList>
</mailingLists>

<developers>

<developer>
<name>Juancarlo Anez</name>
<id>juanco</id>
<email>juanco@apache.org</email>
<organization></organization>
</developer>

<developer>
<name>Stephane Bailliez</name>
<id>sbailliez</id>
<email>sbailliez@apache.org</email>
<organization></organization>
</developer>

.
.
.

<developer>
<name>Glenn McAllister</name>
<id>glennm</id>
<email>glenn@somanetworks.com</email>
<organization>SOMA Networks, Inc.</organization>
</developer>

</developers>

<dependencies>

<dependency>
<id>dom4j</id>
<version>1.3</version>
<url>http://www.dom4j.org/</url>
</dependency>

<dependency>
<id>bcel</id>
<version>5.0</version>
<url>http://jakarta.apache.org/bcel/</url>
</dependency>

.
.
.

<dependency>
<id>regexp</id>
<version>1.2</version>
<url>http://jakarta.apache.org/regexp/</url>
</dependency>

</dependencies>

<build>

<nagEmailAddress>
dev@maven.apache.org
</nagEmailAddress>

<sourceDirectory>src/java</sourceDirectory>

<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>

<aspectSourceDirectory/>

<!-- Unit test cases -->
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/RepositoryTest.java</exclude>
</excludes>
</unitTest>

<!-- J A R R E S O U R C E S -->
<!-- Resources that are packaged up inside the JAR file -->
<resources>
<includes>
<include>*.xsd</include>
<include>log4j.properties</include>
</includes>
</resources>

<!-- Integration unit test cases -->
<integrationUnitTest/>

<jars>
</jars>
</build>
</project>