Next: , Previous: , Up: Legacy Detail Member XML Format   [Contents][Index]


D.4.10 The setFormat Element

setFormat
   :target=ref (majorTicks | labeling)
   :reset=bool?
=> format | numberFormat | stringFormat+ | dateTimeFormat | elapsedTimeFormat

This element sets the format of the target, “format” in this case meaning the SPSS print format for a variable.

The details of this element vary depending on the schema version, as declared in the root visualization element’s version attribute (see The visualization Element). A reader can interpret the content without knowing the schema version.

The setFormat element itself has the following attributes.

Attribute: target

Refers to an element whose style is to be set.

Attribute: reset

If this is true, this format replaces the target’s previous format. If it is false, the modifies the previous format.