The @type
attribute is used within the <ft:meta>
element to define the type of the metadata to apply to a map or a topic according to the following values:
string
: defines flat facets.stringTree
: defines hierarchical facets.
The @type
element is optional within the <ft:meta>
element. If not provided, metadata keys are defined as flat facets (string
).
The following lines show an example of the @type
attribute:
<?xml version="1.0" encoding="UTF-8"?>
<ft:map ...>
...
<ft:metas>
<ft:meta key="product" type="string">myProduct</ft:meta>
...
</ft:metas>
<ft:toc>
<ft:node ft:originId="192fe" ft:title="Introduction" href="intro/introduction.html"
type="topic">
<ft:metas>
<ft:meta key="product">myProduct</ft:meta>
<ft:meta key="audience">beginner</ft:meta>
</ft:metas>
</ft:node>
...
</ft:toc>
</ft:map>