Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.3 Specifying attribute values for the root element of a topic


15.4.6.3 Specifying attribute values for the root element of a topic

To apply attributes to the root element of the current topic, assign attribute="value" pairs, separated by spaces, to the FrameMaker paragraph format for the topic title:

[DITATopicRootAttrs]

; Frame para format for topic title (wildcards OK) = attributes for

; the root element of the current topic.

ParaFmt = attribute1="value1" attribute2="value2" ...

For example, for attributes to support another tool such as Docato that you will use to manage the DITA XML output, suppose your FrameMaker paragraph format for concept topic titles is ConHead:

[DITATopicRootAttrs]

ConHead = xmlns:xsa3="http://dita.oasis-open.org/architecture/2005/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="../../catalog/concept.xsd"

Of course this assignment would have to be all on one line in your configuration file, though it might not look that way here.

You can override root-element attributes with a DITATopicRootAttr marker.



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.3 Specifying attribute values for the root element of a topic