@separator - Fluid Topics - Latest

FTML Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

The @separator attribute is used within the <ft:meta> element to define a single character that should be used as a separator when defining hierarchical facets using the @type attribute.

The @separator element is optional within the <ft:meta> element. If not set, the default separator character is |.

The following lines show an example of the @separator attribute:

<?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 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>