<Software_Documentation_Dataset HINT="">
 <Project_Overall_Information HINT="I_can&#39;t_predict_all_of_the_things_you_MIGHT_want_on_your_title_page&#44;_such_as_your_company_logo&#44;_your_company&#39;s_address&#44;_signoff_lines&#44;_etc&#46;__So_just_make_a_graphic_containing_anything_else&#44;_and_it_can_be_included_here&#46;&#10;">
  <Project_Name HINT="This_is_the_name_of_the_product_or_the_project_for_which_the_document_set_will_be_generated&#46;__&#10;">DocBook Demo</Project_Name>
  <Author HINT="Self-explanatory&#46;__If_you_don&#39;t_want_to_use_an_individual&#39;s_name_&#40;realizing_that_your_company_name_is_liable_to_appear_anyhow&#44;_so_there&#39;s_no_point_in_using_it_as_the_author&#41;&#44;_you_can_ignore_this&#46;">by Ron Burkey</Author>
 </Project_Overall_Information>
 <Purpose HINT="The_first_section_of_each_DO-178B_document_created_by_Do178Builder_is_called_&#34;Purpose&#34;&#46;__This_section_of_the_outline_contains_the_text_used&#46;__If_you&#39;re_satisfied_with_the_boilerplate_wording_I&#39;ve_put_here_&#40;based_on_DO-178B_section_11&#41;&#44;_then_you_don&#39;t_need_to_change_any_of_it&#46;&#10;&#10;Though_all_of_the_boilerplate_text_provided_by_default_is_copyrighted&#44;_&#91;&#40;c&#41;2001&#44;_Ronald_S&#46;_Burkey&#93;&#44;_you_are_free_to_use_any_of_it_without_restriction_&#40;and_without_attribution&#41;_within_your_own_DO-178B_documents&#46;__Recognize_that_you_should_not_attempt_to_use_the_subsequent_copyright_on_your_own_DO-178B_documents_to_restrict_the_rights_of_anyone_else_to_use_this_same_boilerplate_text&#46;&#10;&#10;This_line-item_itself_is_just_a_section_heading&#44;_and_requires_no_descriptive_text&#46;&#10;">
  <Purpose TYPE="Purpose_of_PSAC_Document" HINT="This_is_the_text_of_the_&#34;Purpose&#34;_section_of_the_PSAC_document&#46;" PSAC="YES">This isn't really a PSAC.  It's just a little thing I threw together to demo inserting raw &lt;Command&gt;DocBook&lt;/Command&gt; commands into &lt;Command&gt;Do178Builder&lt;/Command&gt; databases.

To see how I actually did any of this stuff, look at the XML database that I used to create the doc.

I would, however, offer the following advice about including raw &lt;Command&gt;DocBook&lt;/Command&gt; commands within your DO-178B database:  &lt;Command&gt;DocBook&lt;/Command&gt; has so many different things it can do, that it's possible to spend most of your time just researching what &lt;Command&gt;DocBook&lt;/Command&gt; can do, and determining the proper way to do it.  But the object of using &lt;Command&gt;Do178Builder&lt;/Command&gt; is to make things simple for you.  So where it's at all reasonable to do so, you should concentrate on just providing content, and use the simple features &lt;Command&gt;Do178Builder&lt;/Command&gt; provides to you, rather than exerting all your effort on presentation.  Remember, DO-178B documentation is read by technical people.</Purpose>
 </Purpose>
 <System_Overview HINT="This_section_contains_a_large_portion_of_the_data_that&#39;s_useful_to_or_generated_by_the_actual_software_designers&#46;__&#10;&#10;Don&#39;t_provide_any_actual_text_for_this_line_item&#44;_though&#46;__It&#39;s_simply_a_place-holder_for_a_section_title&#46;&#10;" PSAC="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1" BE="YN">
  <System_Functions HINT="This_section_contains_a_list_of_all_functions_provided_by_the_system&#46;__&#10;&#10;This_is_the_section_in_which_requirements_are_enumerated&#44;_expanded_to_design_details&#44;_and_then_further_expanded_to_test_cases&#46;&#10;&#10;Don&#39;t_provide_any_actual_text_for_this_line_item&#44;_which_is_merely_a_place-holder_for_a_section_header&#46;_" PSAC="YES" SRD="YES" SVCP="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
   <Demo_of_Footnote TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">Here I add a footnote.&lt;DocBook&gt;&lt;footnote&gt;&lt;para&gt;This is the first paragraph of my footnote.  It has several sentences in it in order to make it long, so that we can see it wrap around on the page.  In fact, here's a gratuitous third sentence!&lt;/para&gt;&lt;para&gt;This is the second sentence of my footnote.  For reasons not clear to me, it seems to come out in a smaller size.  Maybe somebody can explain this to me....&lt;/para&gt;&lt;/footnote&gt;&lt;/DocBook&gt;  I call it a &lt;Emphasis&gt;foot&lt;/Emphasis&gt;note, though whether it's a footnote, an endnote to the document, or an endnote to a document section is really controlled by the stylesheet that's in effect when the &lt;Command&gt;Do178Builder&lt;/Command&gt;'s output SGML is post-processed by &lt;Command&gt;DocBook&lt;/Command&gt; utilities to create the PDF or RTF or whatever for presentation.

It's also possible to create a footnote&lt;DocBook&gt;&lt;footnote id=myfn&gt;&lt;para&gt;Another footnote.&lt;/para&gt;&lt;/footnote&gt;&lt;/DocBook&gt; which can be referred to later by the same mark.&lt;DocBook&gt;&lt;footnoteref linkend=myfn&gt;&lt;/DocBook&gt;  This is useful (for example) in tables, where the same footnote may apply to a lot of different cells.</Description>
   </Demo_of_Footnote>
   <Demo_of_Table TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">Another interesting thing to do is to include a table.  Here's a 3-row, 3-column table with equal column sizes and a grid around the cells:

&lt;DocBook&gt;
&lt;informaltable&gt;
&lt;tgroup cols=3 align=center&gt;
&lt;tbody&gt;
&lt;row&gt;&lt;entry&gt;A&lt;/entry&gt;&lt;entry&gt;B&lt;/entry&gt;&lt;entry&gt;C&lt;/entry&gt;&lt;/row&gt;
&lt;row&gt;&lt;entry&gt;D&lt;/entry&gt;&lt;entry&gt;E&lt;/entry&gt;&lt;entry&gt;F&lt;/entry&gt;&lt;/row&gt;
&lt;row&gt;&lt;entry&gt;G&lt;/entry&gt;&lt;entry&gt;H&lt;/entry&gt;&lt;entry&gt;I&lt;/entry&gt;&lt;/row&gt;
&lt;/tbody&gt;
&lt;/tgroup&gt;
&lt;/informaltable&gt;
&lt;/DocBook&gt;

Here's a different example, in which I specify that the second column is twice as wide as the first column, and the third column is quadruple size.  Also, the entries are no longer centered:

&lt;DocBook&gt;
&lt;informaltable&gt;
&lt;tgroup cols=3&gt;
&lt;colspec colwidth="1*"&gt;
&lt;colspec colwidth="2*"&gt;
&lt;colspec colwidth="4*"&gt;
&lt;tbody&gt;
&lt;row&gt;&lt;entry&gt;Item 1&lt;/entry&gt;&lt;entry&gt;My favorite&lt;/entry&gt;&lt;entry&gt;Here I'm putting a long, long description, just so that we can see the wrap-around&lt;/entry&gt;&lt;/row&gt;
&lt;row&gt;&lt;entry&gt;Item 2&lt;/entry&gt;&lt;entry&gt;Emily's favorite but not Whitney's favorite&lt;/entry&gt;&lt;entry&gt;A short bit of text.&lt;/entry&gt;&lt;/row&gt;
&lt;row&gt;&lt;entry&gt;Item 3&lt;/entry&gt;&lt;entry&gt;Amy's favorite&lt;/entry&gt;&lt;entry&gt;But who cares?&lt;/entry&gt;&lt;/row&gt;
&lt;/tbody&gt;
&lt;/tgroup&gt;
&lt;/informaltable&gt;
&lt;/DocBook&gt;</Description>
   </Demo_of_Table>
   <Demo_of_Lists TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">It's possible to create lists, such as numbered lists or bulleted lists.  Here are some examples of each:

&lt;DocBook&gt;
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;Well, here's my first bulleted list item.&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;And here's my second one.  I'm making it really long to make sure I see wraparound.&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;And a short third one.&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;You get the idea.&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;

&lt;orderedlist&gt;
&lt;listitem&gt;&lt;para&gt;Well, here's my first numbered-list item.&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;And here's my second one.  I'm making it really long to make sure I see wraparound.&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;And a short third one.&lt;/para&gt;&lt;/listitem&gt;
&lt;/orderedlist&gt;
&lt;/DocBook&gt;</Description>
   </Demo_of_Lists>
   <Demo_of_Math TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">You can also do math stuff, either inline or formatted as blocks, but this seems to require a graphical image of the math, so I won't attempt to demo it.</Description>
   </Demo_of_Math>
   <Demo_of_Graphics TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">&lt;DocBook&gt;
&lt;figure&gt;
&lt;title&gt;Demo of a graphic:  The Mad Hatter&lt;/title&gt;
&lt;graphic fileref="Hatter.jpg" align=center scale=33&gt;&lt;/graphic&gt;
&lt;/figure&gt;
&lt;/DocBook&gt;

As an example of inline graphics, here you should see a &lt;DocBook&gt;&lt;inlinegraphic fileref="star_butterfly.jpg"&gt;&lt;/inlinegraphic&gt;&lt;/DocBook&gt; (butterfly).  

A potential problem with referencing external files (such as graphics) is that these files generally need to be copied into the output directory where &lt;Command&gt;Do178Builder&lt;/Command&gt; generates its output SGML (&lt;Command&gt;DocBook&lt;/Command&gt;) files.  Otherwise, when you run &lt;Command&gt;DocBook&lt;/Command&gt; utilities to post-process the output SGML and create PDF or RTF (or whatever), these files will be missing.  But because &lt;Command&gt;Do178Builder&lt;/Command&gt; does not understand the &lt;Command&gt;DocBook&lt;/Command&gt; commands themselves, it is not necessarily able to understand when external files are referenced, and may therefore not copy such files.  As a compromise solution, &lt;Command&gt;Do178Builder&lt;/Command&gt; &lt;Emphasis&gt;does&lt;/Emphasis&gt; look for &lt;Function&gt;fileref&lt;/Function&gt; attributes, and does copy any files which are referenced by them.  This should work in most cases.  If not, there's always a workaround of manually files into the output directory.</Description>
   </Demo_of_Graphics>
   <Demo_of_Special_Symbols TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">Oddball symbols can also be included, such as the Hebrew &lt;DocBook&gt;&amp;aleph;&lt;/DocBook&gt; (aleph) or the &lt;DocBook&gt;&amp;infin;&lt;/DocBook&gt; (infinity) symbol.  Your ability to print these may depend on the fonts installed on your computer.

Here's a lower-case Greek alphabet, for example, with variants shown for some of the characters: &lt;DocBook&gt;&amp;alpha;, &amp;beta;, &amp;gamma;, &amp;delta;, &amp;epsi;, &amp;zeta;, &amp;eta;, &amp;thetas;, &amp;iota;, &amp;kappa; (&amp;kappav;), &amp;lambda;, &amp;mu;, &amp;nu;, &amp;xi;, &amp;pi;, &amp;rho; (&amp;rhov;), &amp;sigma; (&amp;sigmav;), &amp;tau;, &amp;upsi;, &amp;phis; (&amp;phiv;), &amp;chi;, &amp;psi;, &amp;omega;.&lt;/DocBook&gt;

A bunch of special symbols are listed at the end of Walsh and Muellner's book.</Description>
   </Demo_of_Special_Symbols>
   <Demo_of_Block_Quotes TYPE="TBD_Title_of_a_system_function" HINT="This_section_contains_all_of_the_data_about_a_SPECIFIC_system_function&#46;__You_can_have_as_many_of_these_sections_as_are_required&#46;__&#10;&#10;Be_sure_to_edit_the_title_&#40;which_starts_out_as_something_like_&#34;TBD_Title_of_a_system_function&#34;&#41;_to_something_more_meaningful&#44;_like_&#34;Software-Controlled_On&#47;Off_Button&#34;&#46;__&#10;&#10;You_don&#39;t_need_to_provide_any_text_for_this_line_item&#44;_as_it_is_merely_a_section_title&#46;__Instead&#44;_use_the_Description_sub-item&#46;__You_might_be_tempted_to_remove_the_&#34;Description&#34;_sub-item_and_simply_put_the_description_as_the_text_if_this_line-item_--_and_you_can_do_so_--_but_the_result_is_a_slightly_less_attractive_set_of_DO-178B_documents_in_my_view&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">
    <Description HINT="This_is_a_very_brief_description_of_the_system_function&#46;__The_description_is_brief_because_it_is_suitable_for_the_requirements_process&#46;__The_functional_description_is_then_expanded_later_&#40;if_necessary_or_desirable_for_the_chosen_software_criticality_level&#41;_by_adding_&#34;Design_Data&#34;_outline_elements_during_the_design_process&#46;" PSAC="YES" SRD="YES" DD="YES" SAS="YES" BA="Y1" BB="Y1" BC="Y1" BD="Y1">You might need a block-quote to (for example) describe the licensing of some software you're using:
&lt;DocBook&gt;

&lt;blockquote&gt;
&lt;attribution&gt;XYZ Corporation&lt;/attribution&gt;
&lt;para&gt;The ABC software program is &amp;copy;2004 by the XYZ Corporation, Ltd., all rights reserved.&lt;/para&gt;
&lt;para&gt;As a licensee of the ABC software, you may include it in binary form when distributing binary copies of your own software. For each copy distributed, a royalty of $5 shall be paid within...&lt;/para&gt;
&lt;/blockquote&gt;
&lt;/DocBook&gt;

Although such niceties are generally ignored in technical documentation such as DO-178B documentation, it is traditional when quoting material (of another author) to place short quotations (say, a phrase or a sentence) within quotation marks and to place longer quotations (a paragraph or more) in a block-quote like that above.</Description>
   </Demo_of_Block_Quotes>
  </System_Functions>
 </System_Overview>
</Software_Documentation_Dataset>
