5.3.9 <al-lookup>

##
5.3.9 `<al-lookup>`

The `<al-lookup>` tag uses a dictionary-style lookup to choose one of the contained `<al-item>` HTML fragments. If no `<al-item>` tag matches, then the tag returns any content that was not enclosed by an `<al-item>` tag. The `<al-item>` key values are derived by evaluating their `expr` attribute.

The `<al-lookup>` element will either be expanded in place if an `expr` attribute is given or, if named with an `name="..."` attribute, expanded later via an `<al-value>` `lookup="..."` tag.