Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

16 Configuring DITA maps > 16.3 Constructing a DITA bookmap > 16.3.3 Specifying <bookmeta> information


16.3.3 Specifying <bookmeta> information

You must provide valid XML content for the <bookmeta> element. Most of the information cannot be derived from your FrameMaker document. An annotated template for the <bookmeta> element, bookmeta.xml, is available in your Mif2Go distribution directory; the contents of this template are listed in §E DITA <bookmeta> template.

An easy way to supply <bookmeta> content is to do the following:

1. Copy bookmeta.xml from your Mif2Go distribution directory to the project directory for your DITA project (or to another directory), and optionally rename the copy.

2. Delete from the copy elements you do not need; also delete any non-XML text.

3. Substitute appropriate values for the elements you do need, following XML rules.

4. Optionally validate the XML against the DITA version 1.1 standard.

5. Copy the entire content into your project configuration file as a macro section, or reference the template copy as a macro file.

To specify the location of your <bookmeta> information:

[DITABookMapOptions]

; BookMeta = DITA content, can be macro file or [section]

BookMeta = <$.\mymetadata.xml>

If you do not include a setting for BookMeta, the <bookmeta> element is omitted from output.

You can reference <bookmeta> content in either of the following ways:

a separate macro file; for example:

[DITABookMapOptions]

BookMeta = <$.\path\to\bookmeta.xml>

a macro section in your project configuration file; for example:

[DITABookMapOptions]

BookMeta = <$BookmetaElements>

[BookmetaElements]

<bookmeta>

. . .

</bookmeta>

See §28.1 Defining and invoking macros.



16 Configuring DITA maps > 16.3 Constructing a DITA bookmap > 16.3.3 Specifying <bookmeta> information