Daisy documentation
 PreviousHomeNext 
7.5.4 MiscellaneousBook Index8 Workflow

7.5.5 Export format

The export consists of a set of XML files following this naming pattern:

{docid}~{branch}.xml

There is no language in the file name, as all exported documents are of the same language.

<ie:document xmlns:ie="http://outerx.org/daisy/1.0#tm-impexp" exportedLanguage="{...}" exportedVersion="{...}">

  <ie:title>{the document name}</ie:title>

  ... zero or more ie:part elements ...

  <ie:part name="{part type name}" mimeType="{...}">
     {XML content of the part inlined}
  </ie:part>

  ... zero or more ie:link elements ...

  <ie:link>
    <ie:title>{title}</ie:title>
    <ie:target>{target}</ie:target>
  </ie:link>

  ... zero or more ie:field elements ...

  Syntax for single-value fields:

  <ie:field name="{field type name}">{field value}</ie:field>

  Syntax for multi-value fields:

  <ie:field name="{field type name}">
    <ie:value>{value 1}</ie:value>
    <ie:value>{value 2}</ie:value>
  </ie:field>

</ie:document>

The export also contains an info subdirectory containing the files meta.xml and namespaces.xml. These files have the same format as the normal export format.

 PreviousHomeNext 
7.5.4 Miscellaneous8 Workflow