This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Attributes : Setting an attribute to (no value) | aTbRef Site Map |
Setting an attribute to (no value) |
You can remove an attribute value by setting it to nothing:
$MyAttr=;
Note the semicolon is not quoted, even for attribute type like strings. You can also use a empty string for string types:
$MyString="";
Only the first of these syntaxes also allows attributes that use prototype or preference settings to re-inherit these again. See about resetting inheritance for more detail.
Up: Attributes | |
Previous: Attributes - $ prefix notation | Next: Setting an attribute to re-enable inheritance |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]