Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

17 Converting to DocBook XML > 17.6 Designating ancestors for table elements


17.6 Designating ancestors for table elements

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

[DocBookOptions]

; TableParents = parents for table tags, default none (use content

; model), may include sets from [DocBookElementSets].

TableParents =

List ancestors in hierarchical order; see §17.5.2 Designating DocBook ancestor elements. You can include element sets, as well as single elements; see §17.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

[DocBookTableParents]

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

chart = section

aa654321 = example

textframe = conbody

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



17 Converting to DocBook XML > 17.6 Designating ancestors for table elements