Download SPSS Statistics Base 17.0 User's Guide

Transcript
572
Chapter 52
„
OMS command and subtype identifiers are used as values of the command and subType
attributes in OXML. An example is as follows:
<command text="Frequencies" command="Frequencies"...>
<pivotTable text="Gender" label="Gender" subType="Frequencies"...>
„
OMS command 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 information that is displayed in a table is contained in attribute values in OXML. At the
individual cell level, OXML consists of “empty” elements that contain attributes but no
“content” other than the content that is 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 elements:
<pivotTable...>
<dimension axis='row'...>
<dimension axis='column'...>
<category...>
<cell text='...' number='...' decimals='...'/>
</category>
<category...>
<cell text='...' number='...' decimals='...'/>
</category>
</dimension>
</dimension>
...
</pivotTable>
The preceding example is a simplified representation of the structure that shows the
descendant/ancestor relationships of these elements. However, the example does not necessarily
show the parent/child relationships, because there are typically intervening nested element levels.
The following figure shows a simple frequency table and the complete output XML
representation of that table.
Figure 52-15
Simple frequency table