1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<book version="5.0">
<w3cits:documentRules>
<w3cits:documentRule w3cits:translateSelector="//t:preface" w3cits:translate="no"/>
</w3cits:documentRules>
<bookinfo>
<title>An Example Book in DocBook v5.0</title>
<author>
<firstname xyz:translate="yes">Doe</firstname>
<surname>John</surname>
<affiliation>
<address>
<email>jdoe@example.com</email>
</address>
</affiliation>
</author>
<its2:documentRules>
<its2:documentRule its2:translateSelector="//z:title" its2:translate="no"/>
</its2:documentRules>
<copyright>
<year>2000</year>
<holder>Copyright (c) Gandalf Incorporated</holder>
</copyright>
<abstract>
<para>
If your book has an abstract then it should go here.
</para>
</abstract>
</bookinfo>
<preface>
<title>Preface</title>
<para>
Your book may have a preface, in which case it should be placed here.
</para>
</preface>
<chapter>
<title>My first chapter</title>
<para xyz:locInfo="This must be translated with the right tone.">This is the first chapter in my book.</para>
<db:para translate="no">And this paragraph should not be translated.</db:para>
<para xyz:translate="no">And this paragraph should not be translated.</para>
<sect1>
<title xyz:translate="yes" xyz:locInfo="this is a title, make sure caps are OK." xyz:locInfoType="alert">My first section</title>
<para>This is the first section in my book.</para>
</sect1>
</chapter>
</book>
|