next up previous contents
Next: 2.3.7 Operation Element: SetValue Up: 2.3 The FileStructure Section Previous: 2.3.5 Structure Element: StaticText   Contents


2.3.6 Operation Element: Separator

The Separator element is used primarily as a formatting device to insert some characters, such as a blank or a comma, within a record. Note that FSML automatically writes one blank space (`` '') between each element in a record, so the Separator element is necessary only if you want a different separator (like a dash) or more than that one blank space.

The Separator element has the following attributes:
Attribute Name Description Required
ignoreOnRead True/False. Indicates whether this separator should be should or should not be accounted for when reading the file. It will always be written to the file yes
string Indicates the character or characters that should be used in this separator. A zero-length string means that a space should be used yes
repeat Indicates the number of times the value of string should be repeated in this separator no

The Separator element contains no other elements.

$\textstyle \parbox{6.3in}{\textcolor{blue}
{\textbf{Example \hrulefill}}\\
\pa...
...ey may not necessarily be present when reading
\\ \textcolor{blue}{\hrulefill}}$


next up previous contents
Next: 2.3.7 Operation Element: SetValue Up: 2.3 The FileStructure Section Previous: 2.3.5 Structure Element: StaticText   Contents

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