Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.6 Converting tables to DITA XML > 15.6.3 Designating ancestors for <table> elements


15.6.3 Designating ancestors for <table> elements

To specify the ancestor elements Mif2Go must use for <table> elements:

[DITAOptions]

; TableParents = parents for table tags, including simpletable

; and others; default none (use content model), may include sets

; from [DITAElementSets].

TableParents =

List ancestors in hierarchical order; see §15.5.2 Designating DITA ancestor elements. You can include element sets, as well as single elements; see §15.5.5 Specifying alternate ancestries for the same element. If you do not specify any ancestor elements, Mif2Go picks the first valid element listed in the content model, which might not be what you had in mind.

To specify ancestry for a single <table> element or a discrete group of <table> elements, assign the list to the table ID (see §24.2 Defining sets of tables). For example:

[TableGroup]

FormatA = chart

aa654321 = chart

FormatC = textframe

Unruled = textframe

[DITATableParents]

; table ID group (not type) = parents to be used for root table element

chart = section

aa654321 = example

textframe = conbody

You can make a single [DITATableParents] setting in an HTMConfig marker, also; see §33.2.2 Overriding settings with configuration markers.



15 Converting to DITA XML > 15.6 Converting tables to DITA XML > 15.6.3 Designating ancestors for <table> elements