Property table head still appears after leaving it out

<oXygen/> general issues.
NielsVerstappen
Posts: 9
Joined: Thu Jul 04, 2019 3:49 pm

Property table head still appears after leaving it out

Post by NielsVerstappen » Tue Aug 06, 2019 3:32 pm

Hi,

I am trying to use the <properties> table without displaying the header of this table. However, if I use the example below in a reference file which is contained in a bookmap, the PDF output still displays the <prophead>

Code: Select all

<properties>
    <property>
        <proptype>Test Type</proptype>
	<propvalue>Test Value</propvalue>
	<propdesc>Test Description</propdesc>
    </property>
</properties>
The weird part is that while debugging, I found out that if I convert this single reference file to pdf the <prophead> is not displayed. I wondered if it is possible to leave out the <prophead> for a properties table in a bookmap as well.

Many regards,
Niels

Costin
Posts: 600
Joined: Mon Dec 05, 2011 6:04 pm

Re: Property table head still appears after leaving it out

Post by Costin » Thu Aug 08, 2019 2:31 pm

Hello,

As a simple solution, you should add the following rule in a customization CSS:
[class*="reference/properties"] thead{
display: none !important;
content: "bla";
border: 2px solid black;
}

Then use the DITA Map PDF - based on HTML5 and CSS, edit the scenario and pass your customization .css file to it, either directly - as a parameter - (set the "args.css" value to the path of your .css file), or inside a publishing template.

More details on how you could use a customization CSS available in the User-Guide.

Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

Post Reply