Next: The derivedVariable
Element, Up: Variable Elements [Contents][Index]
sourceVariable
ElementsourceVariable :id :categorical=(true) :source :domain=ref categoricalDomain? :sourceName :dependsOn=ref sourceVariable? :label? :labelVariable=ref sourceVariable? => variable_extension* (format | stringFormat)?
This element defines a variable whose data comes from the tableData.bin member that corresponds to this .xml.
This element has the following attributes.
An id
is always present because this element exists to be
referenced from other elements.
Always set to true
.
Always set to tableData
, the source-name
in the
corresponding tableData.bin member (see Metadata).
The name of a variable within the source, corresponding to the
variable-name
in the tableData.bin member (see Numeric Data).
The variable label, if any.
The variable-name
of a variable whose string values correspond
one-to-one with the values of this variable and are suitable for use
as value labels.
This attribute doesn’t affect the display of a table.