#### 24.6.1 Designating ancestors for <table> elements

To specify the ancestor elements DITA2Go 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 §24.5.2 Designating DITA ancestor elements. You can include element sets, as well as single elements; see §24.5.5 Specifying alternate ancestries for the same element. If you do not specify any ancestor elements, DITA2Go 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 §33.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 PI marker, also; see §42.2.2 Overriding settings with configuration PI markers.

Previous Topic: 24.6 Specifying options for tables in DITA XML

Next Topic: 24.6.2 Applying attributes to DITA tables

Parent Topic: 24.6 Specifying options for tables in DITA XML

Sibling Topics:

24.6.2 Applying attributes to DITA tables

24.6.3 Configuring DITA table components