Re: table entry attributes


Radu Coravu
 

Hi Scott,

Maybe you can come up with a minimal set of map+topic sample project to reproduce the situation.

Then try to see if the problem is still there when using the latest DITA OT stable distribution (DITA OT 3.5.4 right now).

If the problem can be reproduced maybe you can add an issue on the DITA OT issues list:

https://github.com/dita-ot/dita-ot/issues

The DITA OT module which adds these attributes is written in Java. You can search for ""org.dita.dost.writer.NormalizeTableFilter"" to find in the build files the place where the normalize table filter is called.

Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 10/23/20 1:37 AM, scott ashmead via groups.io wrote:

Thanks Eliot.
The specific problem I'm having is related to the colname attribute in the row below.
There are six <entry> elements in the row. <entry> number five does not have a colname attribute and I don't know why. There's colname='4', then an empty element. Then colname="5". It's as though the empty <entry> is being ignored. Any idea how/why an <entry> would not have a colname attribute?

                        <row base="VISION_RCF" class="- topic/row " rowsep="0" valign="bottom"
                           xtrc="row:7;191:93">
                           <entry align="left" colname="col1">
                              <p>Vision</p>
                           </entry>
                           <entry align="center" colname="col2">
                              <p>☐</p>
                           </entry>
                           <entry align="center" colname="col3">
                              <p>☐</p>
                           </entry>
                           <entry align="center" colname="col4">
                              <p>☐</p>
                           </entry>
                           <entry/>
                           <entry align="left" colname="col5">
                              <p>____________________</p>
                           </entry>
                        </row>



On Thursday, October 22, 2020, 05:55:38 PM EDT, ekimber@... <ekimber@...> wrote:


The xtrf, xtrc, dita-ot:x and dita-ot:y attributes are added during preprocessing.

Of these, dita-ot:x and dita-ot:y are specific to table entries (they represent the final x/y position of the cell in the table as rendered, taking into account any row or column spanning).

Cheers,

E.

--
Eliot Kimber
http://contrext.com


On 10/22/20, 4:11 PM, "scott ashmead via groups.io" <main@dita-users.groups.io on behalf of scott_ashmead=yahoo.com@groups.io> wrote:

    Hi All?

    When I use DITA-OT I see the following attributes on my <entry> element in the XML output. Does anyone understand how or why they end up there? I don't see them on the input XML.

    Thank you very much!
    Scott

                              <entry align="center"
                                      class="- topic/entry "
                                      xtrf="Renewal_Change_Form_SO.dita"
                                      xtrc="entry:8;128:47"
                                      colname="col2"
                                      dita-ot:x="2"
                                      dita-ot:y="2">








   










  

Join main@dita-users.groups.io to automatically receive all group messages.