OATTRS and XVERSION Subcommands (SET command)
XVERSION and OATTRS control aspects of OXML and SAV output
from the Output Management System (OMS).
-
XVERSIONspecifies the version of the Output XML schema used to generate OXML output from OMS. -
OATTRSspecifies whether language invariant versions oftextattributes are included in OXML and whether variable names in datasets generated from SAV output are in English. When specified, the English value of atextattribute is stored in thetext_engattribute which either replaces thetextattribute or is in addition to it. Thetext_engattribute allows you to write XPath expressions in a language invariant manner. See the topic XPath Expressions in Multiple Language Environments for more information.
Note:
The settings specified by XVERSION and OATTRS apply to subsequent
OMS requests.
The specifications for XVERSION are:
DEFAULT. Use the schema associated with the version of IBM® SPSS® Statistics from which the SET command is executed. This is the default.
'version' . A quoted string
specifying the output schema version--for example, '1.6'. The version string is the value of the version attribute of the xs:schema element
from the associated output schema file. You can specify the version
for any of the installed output schema files. Output schema files
are located in the IBM SPSS Statistics installation
folder.
The specifications for OATTRS are:
OLANG. The text_eng attribute is not included in OXML output and variable names in datasets generated from SAV output are translated into the current output language (when available). This is the default.
ENG. The text attribute
is replaced (other than in cell elements) with a text_eng attribute
whose value is the English value of the text attribute. Variable names
in datasets generated from SAV output will be in English. The value ENG requires that
the output schema version in use is 1.6 or higher, which is satisfied
by the default setting of the XVERSION subcommand.
BOTH. A text_eng attribute
is added to each element (other than a cell element) that has a text
attribute. The value of the text_eng attribute is the English value
of the text attribute. Variable names in datasets generated from SAV
output will be in English. The value BOTH requires that the output schema version in use is
1.6 or higher, which is satisfied by the default setting of the XVERSION subcommand.