title: Encoding of Sz Attribute Values
role: manual
tags: #api #manual #reference #zettelstore
syntax: zmk
back: 00001012931000
backward: 00001012931000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20230403161923
forward: 00001012930500
lang: en
license: EUPL-1.2-or-later
modified: 20240122115245
published: 20240122115245
visibility: public

An attribute is represented by a single cell.
The first element of the cell references the attribute key, the second value the corresponding value.



*AttributeKey* and *AttributeValue* are [string values](00001012930500).

An empty key denotes the generic attribute.

A key with the value `"-"` specifies the default attribute.
In this case, the attribute value is not interpreted.

Some examples:

* `()` represents the absence of attributes,
* `(("-" . ""))` represent the default attribute,
* `(("-" . "") ("" . "syntax"))` adds the generic attribute with the value &ldquo;syntax&rdquo;,
* `(("lang" . "en"))` denotes the attribute key &ldquo;lang&rdquo; with a value &ldquo;en&rdquo;.