blob: fdbaba2d92ce21260d4e8f6fe2088c7549f97652 (
plain) (
tree)
|
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<copyright>
<year>1997</year><year>2016</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</legalnotice>
<title>User's Guide DTDs</title>
<prepared></prepared>
<docno></docno>
<date></date>
<rev></rev>
<file>user_guide_dtds.xml</file>
</header>
<section>
<marker id="partDTD"></marker>
<title>The part DTD</title>
<p>The <c>part</c> DTD is intended for a "normal" document, like
the User's Guide or Release Notes. First are some paragraphs
introducing the main contents. After that follows chapters,
written in separate files with
the <seealso marker="#chapterDTD">chapter</seealso> DTD.</p>
<p>Example:</p>
<pre>
<?xml version="1.0" encoding="latin1" ?>
<!DOCTYPE part SYSTEM "part.dtd">
<part>
<header>
<title>The chapter title</title>
<prepared>The author</prepared>
<docno/>
<date/>
<rev/>
</header>
<description>
<p>Some text..</p>
</description>
<include file="file1"></include>
<include file="file2"></include>
</part>
</pre>
</section>
<section>
<marker id="partTAG"></marker>
<title><part></title>
<p>The top level tag of a <c>part</c> DTD.</p>
<p>Contains a
<seealso marker="header_tags"><header></seealso>,
an optional
<seealso marker="#descriptionTAG"><description></seealso>,
followed by one or more
<seealso marker="#includeTAG"><include></seealso>.</p>
</section>
<section>
<marker id="descriptionTAG"/>
<title><description></title>
<p>The introduction after the title and before the bulk of
included chapters/manual pages.</p>
<p>Contains any combination and any number
of <seealso marker="block_tags">block tags</seealso> except
<c><![CDATA[<image>]]></c> and <c><![CDATA[<table>]]></c>.</p>
</section>
<section>
<marker id="includeTAG"></marker>
<title><include></title>
<p>An empty tag. The attribute <c>file</c> specifies a file to
include. The <c>.xml</c> file extension should be omitted.</p>
<p>Example:</p>
<pre>
<include file="notes"></include>
</pre>
</section>
<section>
<marker id="chapterDTD"></marker>
<title>The chapter DTD</title>
<p>The <c>chapter</c> DTD is intended for a chapter in a User's
Guide or similar with text divided into sections, which can be
nested.</p>
<p>Example:</p>
<pre>
<?xml version="1.0" encoding="latin1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<title>Title on first level</title>
<prepared/>
<docno/>
<date/>
<rev/>
</header>
<p>Introduction...</p>
<section>
<title>Title on second level</title>
<p>First paragraph.</p>
<p>Second paragraph etc.</p>
<section>
<title>Title on third level</title>
<p>...</p>
</section>
</section>
...
</chapter>
</pre>
</section>
<section>
<marker id="chapterTAG"></marker>
<title><chapter></title>
<p>The top level tag of a <c>chapter</c> DTD.</p>
<p>Contains a
<seealso marker="header_tags"><header></seealso>,
an optional introduction consisting of any combination of
<seealso marker="block_tags">block tags</seealso>,
followed by one or more
<seealso marker="#sectionTAG"><section></seealso>.</p>
</section>
<section>
<marker id="sectionTAG"></marker>
<title><section></title>
<p>Subdivision of a chapter.</p>
<p>Contains an optional
<seealso marker="inline_tags#markerTAG"><marker></seealso>,
a <seealso marker="#titleTAG"><title></seealso>,
followed by any combination and any number of
<seealso marker="block_tags">block tags</seealso> and
<c><![CDATA[<section>]]></c>.</p>
</section>
<section>
<marker id="titleTAG"></marker>
<title><title></title>
<p>Section title, contains plain text.</p>
</section>
</chapter>
|