@href - Fluid Topics - Latest

FTML Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

The @href attribute is used within the <ft:node> element to declare the location of the topic. It must be written as the path and filename of the HTML file containing the topic.

When no @href attribute is provided for the element, the @ft:title and @ft:originId attributes are mandatory.

The @href attribute is optional.

The following lines show an example of the @href element:

<?xml version="1.0" encoding="UTF-8"?>   
<ft:map ...>  
  ...  
  <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 href="front.html"/>  
    </ft:node>  
    <ft:node ft:title="Copyrights" href="copyrights.html"/>  
    ...  
  </ft:toc>  
</ft:map>