Previous | Contents | Index |
To create a MIL-STD-490A document, you copy the template file MILSPEC_SAMPLE.SDML from the directory DOC$TEMPLATES into your work directory, then edit it to insert your text. Alternatively, you can create your own file. If you create a new file, you may still want to look at the template SDML input file as a guide.
To create documents that conform to MIL-STD-490A, you use the MILSPEC doctype tags in the following manner:
Use DECdocument to create a Data Item Description document in accordance with either U.S. Department of Defense standard DOD-STD-2167 or DOD-STD-2167A. DOD-STD-2167A is a Department of Defense military standard published February 29, 1988 that supersedes DOD-STD-2167, published June 4, 1985.
Create a Data Item Description (DID) document in accordance with either DOD-STD-2167 or DOD-STD-2167A in any of the following ways:
To create a DOD-STD-2167 document, copy and edit one of the 24 Data Item Description (DID) templates listed in Table 7-3, or expand the appropriate LSE templates available in LSE.
Process your finished SDML input file using the MILSPEC.SECURITY or MILSPEC.ONLINE doctypes to have a document format that conforms to DOD-STD-2167.
See Section 7.5 for information on the tags available in the
MILSPEC.SECURITY doctype and Chapter 8 for information on the
additional tags needed for MILSPEC.ONLINE.
7.4.2 Creating DOD-STD-2167A Documents
To create a DOD-STD-2167A document, copy and edit one of the 17 Data Item Description (DID) templates listed in Table 7-4, or expand the appropriate LSE templates available in LSE.
You create DOD-STD-2167A formatted documents by using the MILSPEC.SECURITY doctype with certain tags enabled in that doctype. To create a document that follows the 2167A format specifications, enter the SDML code shown in Example 7-1 at the top of your SDML file (or include it from a separate file using either the <INCLUDE> tag or the /INCLUDE qualifier) and then process it using the MILSPEC.SECURITY doctype.
Example 7-1 Coding a 2167A-Formatted Document |
---|
<DOCUMENT_ATTRIBUTES> <SET_HEADINGS>(CENTERED) <SET_APPENDIX_ENUMERATION>(ALPHABETIC) <ENDDOCUMENT_ATTRIBUTES> |
To create double-spaced draft output of this file, use the same
procedure, but process the file using the MILSPEC.DRAFT doctype.
7.4.2.1 Using the Data Item Description Template Files
DECdocument contains Data Item Description (DID) template files to make creating DOD-STD-2167 and DOD-STD-2167A documents easier. See Table 7-3 for a list of the DOD-STD-2167 templates; see Table 7-4 for a list of the DOD-STD-2167A templates.
The template files supply a framework for each of the supported DID specifications, so that all you need supply is the text specific to your document. The document template provides all required tags, including section and paragraph headings.
Each template file is a collection of individual element files coded for a specific DID or military document. These files are concatenated into a single file to simplify use and storage. When you use one of these concatenated files, separate it into several files, one file for each major section of your document.
Each section of the template input file has comments with directions for its use. Placing each major section in a separate file makes it easier to maintain your document and lets you use the book-building features of DECdocument. When you are ready to create your book, list these files in a profile file using the <ELEMENT> tag and process the profile as a DECdocument book build.
Such a profile would appear as follows:
<COMMENT>(SDML profile for My Document) <PROFILE> <ELEMENT>(frontmatter.sdml) <ELEMENT>(scopechap.sdml) <ELEMENT>(secondchap.sdml) <ELEMENT>(thirdchap.sdml) <ELEMENT>(fourthchap.sdml) <ELEMENT>(fifthchap.sdml) <ELEMENT>(noteschap.sdml) <ELEMENT>(firstapx.sdml) <ENDPROFILE> |
For example, if you were to use the file MILSPEC_DID_80025.SDML, you would place each of the six major sections in a separate file, and also place the front matter section and the symbol definition section in separate files. DECdocument would place each of these files in your document as it builds your book.
For more information about creating a profile, refer to the <PROFILE> tag description in Using Global Tags.
To use the DID template files, do the following:
$ DOC/LIST/CONTENTS/SYMBOLS=MY_SYMBOLS.SDML $ _MYFILE.SDML MILSPEC LN03 |
<PROFILE> <ELEMENT>(frontmatter.sdml) <CONTENTS_FILE> <ELEMENT>(scopechap.sdml) <ELEMENT>(secondchap.sdml) <ELEMENT>(thirdchap.sdml) <ELEMENT>(fourthchap.sdml) <ELEMENT>(fifthchap.sdml) <ELEMENT>(noteschap.sdml) <ELEMENT>(firstapx.sdml) <INDEX_FILE> <ENDPROFILE> |
<COMMENT>(File: thirdchap.sdml) <CHAPTER>(Testing Results\test_results_chap) <INCLUDE>(testing_intro.sdml) <INCLUDE>(test1_results.sdml) <INCLUDE>(test2_results.sdml) <INCLUDE>(test3_results.sdml) <INCLUDE>(test4_results.sdml) <INCLUDE>(test5_results.sdml) <INCLUDE>(testing_conclusions.sdml) |
Data Item Description Number |
Template Description |
Template Files Located in the Directory DOC$TEMPLATES |
---|---|---|
None. |
Sample template for any document
conforming to MIL-STD-490A |
MILSPEC_SAMPLE.SDML |
DI-CMAN-80008
AMSC No. N3584 |
System/Segment Specification | MILSPEC_DID_80008.SDML |
DI-MCCR-80009
AMSC No. N3585 |
Software Configuration Management Plan | MILSPEC_DID_80009.SDML |
DI-MCCR-80010
AMSC No. N3586 |
Software Quality Evaluation Plan | MILSPEC_DID_80010.SDML |
DI-MCCR-80011
AMSC No. N3587 |
Software Standards and Procedures Manual | MILSPEC_DID_80011.SDML |
DI-MCCR-80012
AMSC No. N3588 |
Software Top Level Design Document | MILSPEC_DID_80012.SDML |
DI-MCCR-80013
AMSC No. N3589 |
Version Description Document | MILSPEC_DID_80013.SDML |
DI-MCCR-80014
AMSC No. N3590 |
Software Test Plan | MILSPEC_DID_80014.SDML |
DI-MCCR-80015
AMSC No. N3591 |
Software Test Description | MILSPEC_DID_80015.SDML |
DI-MCCR-80016
AMSC No. N3592 |
Software Test Procedure | MILSPEC_DID_80016.SDML |
DI-MCCR-80017
AMSC No. N3593 |
Software Test Report | MILSPEC_DID_80017.SDML |
DI-MCCR-80018
AMSC No. N3594 |
Computer System Operator's Manual | MILSPEC_DID_80018.SDML |
DI-MCCR-80019
AMSC No. N3595 |
Software User's Manual | MILSPEC_DID_80019.SDML |
DI-MCCR-80020
AMSC No. N3596 |
Computer System Diagnostic Manual | MILSPEC_DID_80020.SDML |
DI-MCCR-80021
AMSC No. N3597 |
Software Programmer's Manual | MILSPEC_DID_80021.SDML |
DI-MCCR-80022
AMSC No. N3598 |
Firmware Support Manual | MILSPEC_DID_80022.SDML |
DI-MCCR-80023
AMSC No. N3599 |
Operational Concept Document | MILSPEC_DID_80023.SDML |
DI-MCCR-80024
AMSC No. N3600 |
Computer Resources Integrated Support Document | MILSPEC_DID_80024.SDML |
DI-MCCR-80025
AMSC No. N3601 |
Software Requirements Specification | MILSPEC_DID_80025.SDML |
DI-MCCR-80026
AMSC No. N3602 |
Interface Requirements Specification | MILSPEC_DID_80026.SDML |
DI-MCCR-80027
AMSC No. N3603 |
Interface Design Document | MILSPEC_DID_80027.SDML |
DI-MCCR-80028
AMSC No. N3604 |
Data Base Design Document | MILSPEC_DID_80028.SDML |
DI-MCCR-80029
AMSC No. N3605 |
Software Product Specification | MILSPEC_DID_80029.SDML |
DI-MCCR-80030
AMSC No. N3606 |
Software Development Plan | MILSPEC_DID_80030.SDML |
DI-MCCR-80031
AMSC No. N3607 |
Software Detail Design Document | MILSPEC_DID_80031.SDML |
Data Item Description Number |
Template Description |
Template Files Located in the Directory DOC$TEMPLATES |
---|---|---|
DI-CMAN-80008A
AMSC No. F4328 |
System/Segment Specification | MILSPEC_DID_80008A.SDML |
DI-CMAN-80534
AMSC No. N4329 |
System/Segment Design Document | MILSPEC_DID_80524.SDML |
DI-MCCR-80012A
AMSC No. N4330 |
Software Design Document | MILSPEC_DID_80012A.SDML |
DI-MCCR-80013A
AMSC No. N4331 |
Version Description Document | MILSPEC_DID_80013A.SDML |
DI-MCCR-80014A
AMSC No. N4332 |
Software Test Plan | MILSPEC_DID_80014A.SDML |
DI-MCCR-80015A
AMSC No. N4333 |
Software Test Description | MILSPEC_DID_80015A.SDML |
DI-MCCR-80017A
AMSC No. N4334 |
Software Test Report | MILSPEC_DID_80017A.SDML |
DI-MCCR-80018A
AMSC No. N4335 |
Computer System Operator's Manual | MILSPEC_DID_80018A.SDML |
DI-MCCR-80019A
AMSC No. N4336 |
Software User's Manual | MILSPEC_DID_80019A.SDML |
DI-MCCR-80021A
AMSC No. N4337 |
Software Programmer's Manual | MILSPEC_DID_80021A.SDML |
DI-MCCR-80022A
AMSC No. N4338 |
Firmware Support Manual | MILSPEC_DID_80022A.SDML |
DI-MCCR-80024A
AMSC No. N4339 |
Computer Resources Integrated Support Document | MILSPEC_DID_80024A.SDML |
DI-MCCR-80025A
AMSC No. N4340 |
Software Requirements Specification | MILSPEC_DID_80025A.SDML |
DI-MCCR-80026A
AMSC No. N4341 |
Interface Requirements Specification | MILSPEC_DID_80026A.SDML |
DI-MCCR-80027A
AMSC No. N4342 |
Interface Design Document | MILSPEC_DID_80027A.SDML |
DI-MCCR-80029A
AMSC No. N4343 |
Software Product Specification | MILSPEC_DID_80029A.SDML |
DI-MCCR-80030A
AMSC No. N4344 |
Software Development Plan | MILSPEC_DID_80030A.SDML |
This part of this chapter contains reference information on all the tags available in the MILSPEC doctypes. The MILSPEC doctypes are a full implementation of the United States Military Specification Standard MIL-STD-490A.
Places an example of code in a proportionally spaced font.
<CODE_EXAMPLE>
code example text
.
.
.
<ENDCODE_EXAMPLE>
code example text
Specifies a code fragment you want to insert into your text.
- The global <INTERACTIVE> tag
- The global <LINE_ART> tag
- The global <VALID_BREAK> tag
Valid only in the context of the MILSPEC doctypes; all other doctypes use the global <CODE_EXAMPLE> tag, which accepts arguments and has a different format than the MILSPEC <CODE_EXAMPLE> tag.Do not use indexing tags (<X> and <Y> ) in code examples.
Do not use tab characters to format code examples. Use spaces rather than tabs.
Do not use text element tags in <CODE_EXAMPLE> (for example, <P>, <LIST>, or <NOTE>).
<ENDCODE_EXAMPLE>
The <CODE_EXAMPLE> tag places an example of code in a proportionally spaced font. It causes the one or more lines of code example text to be indented from the text that surrounds it.The size of the example, whether it will be indented, and how much it will be indented from the current left margin of text is controlled by the document design.
Enter the code example text between the <CODE_EXAMPLE> and <ENDCODE_EXAMPLE> tags. Character spaces and blank lines that you enter to format the code will be retained. Also, use the <ELLIPSIS> tag in this context to a vertical ellipsis to indicate you omitted some lines of code. If your code example is longer than a few lines, use the global <VALID_BREAK> tag to indicate the acceptable points for a page break.
Use the global <LINE_ART> or <INTERACTIVE> tags to create monospaced code examples in the MILSPEC doctypes.
The following example shows the coding of a proportionally spaced code example.
<CODE_EXAMPLE> <KEYWORD>(type) DURATION <KEYWORD>(is) <KEYWORD>(delta) <EMPHASIS>(implementation_defined) <KEYWORD>(range) <EMPHASIS>(implementation_defined); <ENDCODE_EXAMPLE> |
This example produces the following output:
type DURATION is delta implementation_defined range implementation_defined;
Previous | Next | Contents | Index |