Daisy documentation
 PreviousHomeNext 
7.4.3 The info/namespaces.xml fileBook Index7.4.5 The info/schema.xml file

7.4.4 The info/variants.xml file

This file lists the branches and languages that are used by the documents.

Example structure:

<?xml version="1.0"?>
<variants>
  <branches>
    <branch name="main" required="true"/>
    <branch name="foo" required="true"/>
  </branches>

  <languages>
    <language name="default" required="true"/>
    <language name="bar" required="true"/>
  </languages>
</variants>

The required attribute serves the same purpose as for namespaces. The description of the branches and languages can be set by adding a description attribute.

 PreviousHomeNext 
7.4.3 The info/namespaces.xml file7.4.5 The info/schema.xml file