Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Configuring DITA maps > 15.3 Constructing a DITA bookmap > 15.3.3 Specifying <bookmeta> information


15.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 folder; the contents of this template are listed in §H DITA <bookmeta> template.

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

1. Copy bookmeta.xml from your Mif2Go distribution folder to the project folder for your DITA project (or to another folder), 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 §27.1 Defining and invoking macros.



15 Configuring DITA maps > 15.3 Constructing a DITA bookmap > 15.3.3 Specifying <bookmeta> information