Next: , Previous: , Up: Structure Member Format   [Contents]


2.1.2 The label Element

label => TEXT

Every heading and container holds a label as its first child. The label text is what appears in the outline pane of the GUI’s viewer window. PSPP also puts it into the outline of PDF output. The label text doesn’t appear in the output itself.

The text in label describes what it labels, often by naming the statistical procedure that was executed, e.g. “Frequencies” or “T-Test”. Labels are often very generic, especially within a container, e.g. “Title” or “Warnings” or “Notes”. Label text is localized according to the output language, e.g. in Italian a frequency table procedure is labeled “Frequenze”.

The user can edit labels to be anything they want. The corpus contains a few examples of empty labels, ones that contain no text, probably as a result of user editing.

The root heading in an SPV file has a label, like every heading. It normally contains “Output” but its content is disregarded anyway. The user cannot edit it.