next up previous contents
Next: 3.6 How to Process Up: 3 Examples Previous: 3.4 How to Process   Contents


3.5 How to Process Static Text

As explained in Section 2.3.5, lines of text in the input file are processed using the StaticText element. In this example, the input file begins with four lines of text, so the StaticText tags are the first entries in the FileStructure section. Remember that the StaticText element requires no entries in the $<$FileData$>$ section of the FSML file, so that doesn't appear in the snippet below.

Snippet from the Input Deck

***
* Run Info
* Version: 5.1.10
***
modelrun    7
clockmode   1

Snippet from the FSML File

<FileStructure>
    <!--Header for Run Info -->
        <StaticText>***</StaticText>
        <StaticText>* Run Info</StaticText>
        <StaticText>* Version: 5.1.11</StaticText>
        <StaticText>*** </StaticText>
    .
    .
    .
</FileStructure>


next up previous contents
Next: 3.6 How to Process Up: 3 Examples Previous: 3.4 How to Process   Contents

SAIC Ship Technology Division, Annapolis, Maryland, USA
2004-10-26