An IndexAppearance can be used to create a selection of tabs. Typical examples are a selection of formats (rdf, xml, etc) or a A-Z index.

Index appearance

You have two options to create an index appearance:

  1. Using static data (elmo:data);
  2. Using dynamic data with a query.
1. Using static data

A typical static data definition looks like this:

stage:IndexAppearance a elmo:Part;
	elmo:appearance elmo:IndexAppearance;
	elmo:data [
		xhtml:link "";
		elmo:name "term";
		rdfs:label "0-9|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|all";
		rdf:value "[0-9]|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|";
	];
.

Let’s look at the properties within elmo:data: