This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

SetDefault

<SetDefault attribute="[Attr. name]" value="[value]" />

Occurs: Inside finalize

Multiple instances: Yes

Has attributes: Yes - attribute, value

Self-closing: Yes

Use the SetDefault to initialise the value of an attribute in the output TBX file. Use SetFor for individual note attribute values.

attribute. The name of the attribute whose value is to be set.

value. The desired default value for the attribute.

Example:

<SetDefault attribute="Color" value="green" /> 


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Syntax Library: Tutorials, Wizards and Timelines : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : SetDefault