User Guide

685
Output Managem
ent System
As you may notice, a simple, small table produces a substantial amount of XML.
That’s partly because the XML contains some information not readily apparent in
the origina
l table, some information that might not even be available in the original
table, and a certain amount of redundancy.
The table contents as they are (or would be) displayed in a pivot table in the
Viewer are c
ontained in text attributes. For example:
<command te
xt="Frequencies" command="Frequencies"...>
Text attributes can be affected by both output language and settings that affect the
display of v
ariable names/labels and values/value labels. In this example, the
text attribute value will differ depending on the output language, whereas the
command attribute value remains the same regardless of output language.
Wherever variables or values of variables are used in row or column labels, the
XML will co
ntain a text attribute and one or more additional attribute values.
For example:
<dimension axis="row" text="Gender" label="Gender" varNam e="gender">
...<categ
ory t ext="Female" label="Female" string="f" varName="gender">
For a numeric variable, there would be a number attribute instead of a string
attribute
.Thelabel attribute is present only if the variable or values have defined
labels.
The <cell> elements that contain cell values for numbers will contain the text
attribute and one or more additional attribute values. For example:
<cell text="45.6" number="45.569620253165" decimals="1"/>