NAME
QuasiTableFromKeyValueList — Create a table with divs derived from a key-value list.
SYNOPSIS
QuasiTableFromKeyValueList List ?KeyDivClassName? ?ValueDivClassName?
DESCRIPTION
Return Value
A table with divs derived from a key-value list.
Arguments
ListThe key-value list to convert into a table.
KeyDivClassNameOptional. Name to use for the value of the class attribute in the div tag for the key. Defaults to "KeyDiv".
ValueDivClassNameOptional. Name to use for the value of the class attribute in the div tag for the value. Defaults to "ValueDiv".
More Info
For example --

QuasiTableFromKeyValueList {key1 value1 key2 value2 key3 value3} section_header section_content

-- will create a table that looks like this:

key1
value1

key2
value2

key3
value3

As you can see, it is a header/key followed by content/value.

Note that, in order to get styling, you will want to set the div classes by setting KeyDivClassName and ValueDivClassName and then provide your own CSS (alternatively, you can leave them blank).


For information regarding exceptions / errors, see here.
EXAMPLES
% QuasiTableFromKeyValueList {key1 value1 key2 value2}
<div class="KeyDiv">key1</div>
<div class="ValueDiv">value1</div>

<div class="KeyDiv">key2</div>
<div class="ValueDiv">value2</div>
SEE ALSO
Matrix2HtmlTable
KEYWORDS
conversion, html, string, transform