The <ft:meta>
element is used within the <ft:metas>
element to define the metadata to apply to a map or a topic.
- The
<ft:meta>
element is mandatory within the<ft:metas>
element. - For multi-valued metadata, it is necessary to list one
<ft:meta>
element for each value.
The <ft:meta>
element can have the following attributes:
@key
: name of the variant used in the content.@type
: type of the metadata.@separator
: character used as a separator for hierarchical facets.
The following lines show an example of the <ft:meta>
element:
<?xml version="1.0" encoding="UTF-8"?>
<ft:map ...>
...
<ft:metas>
<ft:meta key="location" type="stringTree">France|Occitanie|Montpellier</ft:meta>
<ft:meta key="location" separator="/" type="stringTree">China/Sichuan/Chengdu</ft:meta>
...
</ft:metas>
<ft:toc>
<ft:node 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>