User Guide
682
Chapter 47
OXML Table St
ructure
Output XML (
OXML) is XML that conforms to the spss-output schema. For
a detailed description of the schema, see SPSSOutputXML_schema.htm in the
help\main folder of the SPSS installation folder.
OMS command and subtype identifiers are used as values of the command and
subType attributes in OXML. For example:
<command text="Frequencies" command="Frequencies"...>
<pivotTable text="Gender" label="Gender" subType="Frequencies"...>
OMS comman
d and subType attribute values are not affected by output language
or display settings for variable names/labels or values/value labels.
XML is case sensitive. A subType attribute value of “frequencies” is not the same
as a subType attribute value of “Frequencies.”
All the information displayed in a table is contained in attribute values in OXML.
At the indiv
idual cell level, OXML consists of “empty” elements that contain
attributes but no “content” other than that contained in attribute values.
Table structure in OXML is represented row by row; elements that represent
columns are nested within the rows, and individual cells are nested within the
column ele
ments:
<pivotTab
le...>
<dimension axis=’row’.. .>
<dimension axis=’column’...>
<category.
..>
<cell text=’...’ number=’...’ decimals=’...’/>
</category>
<category.
..>
<cell text=’...’ number=’...’ decimals=’...’/>
</category>
</dimension
>
</dimension>
...
</pivotTabl
e>










