Page 1 of 1

Table row not shown in Oxygen Author mode!

Posted: Tue Mar 31, 2020 5:04 pm
by mu258770
Hi team,

We are using Oxygen XML Author 20.1 Eclipse version. We see that the table <row> element is not shown in Author mode even in fulltags mode.

Could you please suggest how we can enable it. We searched in CSS, but could not find it. Is it easily configurable?

Regards,
Shabeer

Re: Table row not shown in Oxygen Author mode!

Posted: Wed Apr 01, 2020 8:29 am
by Radu
Hi Shabeer,

I'm afraid we do not have a setting to show the full tags for table rows. We do have an internal issue registered for this and I added your contact details on it.
In the meantime if you want to select an entire table row you can click with the mouse just before the start of the row. You can also use the Outline view.
Could you tell us why you want the full tag to appear before the table row?

Regards,
Radu

Re: Table row not shown in Oxygen Author mode!

Posted: Wed Apr 01, 2020 9:52 am
by mu258770
Hi Radu,

The purpose is to use conditional attributes on the row level. We can insert the conditional attribute by selecting the entire row and using the edit profiling attributes window. But currently it is not easy to understand if a conditional attribute is applied on row. There is a tooltip shows the conditional attribute, but it is hard to understand where it is present.

Users would want to see the row element along with its attributes while editing the table because of the above use case.

Could you please suggest a way forward on this.

Regards,
Shabeer

Re: Table row not shown in Oxygen Author mode!

Posted: Wed Apr 01, 2020 12:29 pm
by Radu
Hi Shabeer,

Right now there is no way to display content before or after a table's row.
Maybe with a small CSS:

Code: Select all

row[platform] entry:first-of-type:before{
    color:blue;
    content: "[" oxy_xpath("../@platform") "]";
}
you could display the profiling attribute value in the first table cell but I have no other workaround.

Regards,
Radu

Re: Table row not shown in Oxygen Author mode!

Posted: Wed May 13, 2020 8:19 pm
by saiteja346
Hi Radu,

The CSS you have provided is only for one profiling attribute. But we have multiple profiling attributes

If multiple profiling attributes are given for one row, do we need to define all the possibilities in the CSS code as you have mentioned.

For example if there are four profiling attributes do we need to define all the 24 ways in the CSS code or Is there any other alternative.

Please suggest.

Thanks in advance!

Regards,
SaiTeja

Re: Table row not shown in Oxygen Author mode!

Posted: Thu May 14, 2020 7:16 am
by Radu
Hi SaiTeja,

We have a special CSS property called -oxy-append-content, it can be used to add to the content instead of overwriting it on each selector:

Code: Select all

row[platform] entry:first-of-type:before{
    color:blue;
    -oxy-append-content: "[" oxy_xpath("../@platform") "]";
}

row[audience] entry:first-of-type:before{
    color:blue;
    -oxy-append-content: "[" oxy_xpath("../@audience") "]";
}
Regards,
Radu