filemap.xml file
The filemap.xml file is created when you use Content Importer to convert content before importing it into Content Manager. This file is written to both the conversion input directory and the conversion output directory. The file contains information about the original objects, the GUIDs assigned to them, and the metadata that will be assigned to the objects in Content Manager.
Overview of the filemap.xml file
By default, this file contains the following type of information for each object:
- Original file name and the new GUID assigned to it
- Folder where the content will be created in Content Manager
- Content Manager information type: map, topic, or image
- Language of the object
- Version of the object
- Title of the object
Example of a filemap.xml file
Sample of the contents from a filemap.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<filemap sourcebasepath="C:\Test3\DITA-OT sample files">
<file id="GUID-6DC12309-C631-4CCE-A7A0-B1EED80BF53C" targetfolder="Import\images" title="carwash" filetype="ISHIllustration" filepath="carwash.jpg" filename="carwash.jpg" fileextension=".jpg" folderhasmixedcontent="True">
<ishobject ishref="GUID-6DC12309-C631-4CCE-A7A0-B1EED80BF53C" ishtype="ISHIllustration">
<ishfields>
<ishfield name="DOC-LANGUAGE" level="lng">en-us</ishfield>
<ishfield name="FTITLE" level="logical">carwash</ishfield>
<ishfield name="VERSION" level="version">1</ishfield>
<ishfield name="FRESOLUTION" level="lng">Low</ishfield>
</ishfields>
</ishobject>
</file>
<file id="GUID-7F4933BA-4EDF-4B4F-8AFA-D7220B6C626B" targetfolder="Import\topics" title="Washing the car" filetype="ISHModule" filepath="washingthecar.xml" filename="washingthecar.xml" fileextension=".xml" folderhasmixedcontent="True">
<ishobject ishref="GUID-7F4933BA-4EDF-4B4F-8AFA-D7220B6C626B" ishtype="ISHModule">
<ishfields>
<ishfield name="DOC-LANGUAGE" level="lng">en-us</ishfield>
<ishfield name="FTITLE" level="logical">Washing the car</ishfield>
<ishfield name="VERSION" level="version">1</ishfield>
</ishfields>
</ishobject>
</file>
<file id="GUID-2747AF05-CF76-47AA-8F56-199D7572EAB5" targetfolder="Import\maps" title="Garage sample files" filetype="ISHMasterDoc" filepath="hierarchy.ditamap" filename="hierarchy.ditamap" fileextension=".ditamap" folderhasmixedcontent="True">
<ishobject ishref="GUID-2747AF05-CF76-47AA-8F56-199D7572EAB5" ishtype="ISHMasterDoc">
<ishfields>
<ishfield name="DOC-LANGUAGE" level="lng">en-us</ishfield>
<ishfield name="FTITLE" level="logical">Garage sample files</ishfield>
<ishfield name="VERSION" level="version">1</ishfield>
</ishfields>
</ishobject>
</file>