Documentation Center

Generating a Template

  1. Copy and rename the starter.map file.
  2. Edit the new map file for your location and import requirements.
  3. At a command prompt in the Contenta_home/bin directory, issue the generate command.

For example, assuming that the document you want to import is named much_ado.xml and your map file is named play.map:

perl di.pl -c d:/Contenta/encaps/di/MapFiles/play.map -e d:/tmp/errlog -m 5

A play.map file is created with 5 mapping rules and placed in the top level ../di directory.

  1. Check/edit the new map file to ensure desired mapping rules were created.
  2. Move the file to the MapFiles directory, replacing the template map file you created in steps 1 and 2 above.