知乎专栏 |
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "/usr/local/Cellar/docbook/5.1_1/docbook/xml/5.0/dtd/docbook.dtd" [ <!ENTITY article.author.xml SYSTEM "common/article.author.xml"> <!ENTITY book.info.legalnotice.xml SYSTEM "common/book.info.legalnotice.xml"> ]> <article xmlns='http://docbook.org/ns/docbook'> <info> <title>A World Wide Web Interface to CTAN</title> <titleabbrev>CTAN-Web</titleabbrev> <author><personname> <firstname>Norman</firstname><surname>Walsh</surname> </personname></author> <authorinitials>ndw</authorinitials> <artpagenums>339-343</artpagenums> <volumenum>15</volumenum> <issuenum>3</issuenum> <publisher><publishername>The TeX User's Group</publishername></publisher> <pubdate>1994</pubdate> <revhistory> <revision> <revnumber>1.0</revnumber> <date>1994-03-28</date> <revremark>Submitted.</revremark> </revision> <revision> <revnumber>0.5</revnumber> <date>1994-02-15</date> <revremark>First draft for review.</revremark> </revision> </revhistory> </info> <para>The body of the article …</para> </article>
例 4.1. article
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <article> <articleinfo> <title>An example article</title> <author> <firstname>Your first name</firstname> <surname>Your surname</surname> <affiliation> <address><email>foo@example.com</email></address> </affiliation> </author> <copyright> <year>2000</year> <holder>Copyright string here</holder> </copyright> <abstract> <para>If your article has an abstract then it should go here.</para> </abstract> </articleinfo> <sect1> <title>My first section</title> <para>This is the first section in my article.</para> <sect2> <title>My first sub-section</title> <para>This is the first sub-section in my article.</para> </sect2> </sect1> </article>