Make companion.xsl validate
authorKeith Packard <keithp@keithp.com>
Mon, 18 Nov 2013 20:38:52 +0000 (12:38 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Nov 2013 20:38:52 +0000 (12:38 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
doc/companion.xsl

index 1215d9af14de27f9f82d8a0964d8b998ed1a65c1..14e2194e3bd26d5f5aee4ccab14ae545d01a788b 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
 
 <article>
 "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
 
 <article>
       The Companion Port provides two different functions:
       <itemizedlist>
        <listitem>
       The Companion Port provides two different functions:
       <itemizedlist>
        <listitem>
+         <para>
          Power. Both battery-level and 3.3V regulated power are
          available. Note that the amount of regulated power is not
          huge; TeleMetrum contains a 150mA regulator and uses, at
          peak, about 120mA or so. For applications needing more than
          a few dozen mA, placing a separate regulator on them and
          using the battery for power is probably a good idea.
          Power. Both battery-level and 3.3V regulated power are
          available. Note that the amount of regulated power is not
          huge; TeleMetrum contains a 150mA regulator and uses, at
          peak, about 120mA or so. For applications needing more than
          a few dozen mA, placing a separate regulator on them and
          using the battery for power is probably a good idea.
+         </para>
        </listitem>
        <listitem>
        </listitem>
        <listitem>
+         <para>
          SPI. The flight computer operates as a SPI master, using
          a protocol defined in this document. Companion boards
          provide a matching SPI slave implementation which supplies
          telemetry information for the radio downlink during flight
          SPI. The flight computer operates as a SPI master, using
          a protocol defined in this document. Companion boards
          provide a matching SPI slave implementation which supplies
          telemetry information for the radio downlink during flight
+         </para>
        </listitem>
       </itemizedlist>
     </para>
        </listitem>
       </itemizedlist>
     </para>
   </section>
   <section>
     <title>SPI Message Formats</title>
   </section>
   <section>
     <title>SPI Message Formats</title>
+    <para>
     This section first defines the command message format sent from
     the flight computer to the companion board, and then the various
     reply message formats for each type of command message.
     This section first defines the command message format sent from
     the flight computer to the companion board, and then the various
     reply message formats for each type of command message.
+    </para>
     <section>
       <title>Command Message</title>
       <table frame='all'>
     <section>
       <title>Command Message</title>
       <table frame='all'>