Hello,
I have the following attribute set:
<xsl:attribute-set name="table_header_font">
<xsl:attribute name="fname">verdana</xsl:attribute>
<xsl:attribute name="size">8pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xs;:attribute>
</xsl:attribute-set>
This is stored in Commonfunctions.xsl.
I have another xsl file: PersonalTitle2.xsl in which I have this:
<Table border="1" cellspacing="0" cellpadding="0" width="100%" xsl:use-attribute-sets="table_light_border" style="font-size: 8pt; font-family: verdana;">
<THEAD> <!-- style="font-size: 8pt; font-family: verdana; font-weight: bold;">-->
<font xsl:use-attribute-sets="table_header_font">
PATIENT IDENTIFICATION
</font>
</THEAD>
But this is what shows up:
This is completely the wrong look. It's defaulting to Times New Roman and the size is obviously WAY off.
If I remove the reference to table_header_font in my THEAD and use the CSS commented out above instead, I get this:
This is the correct look.
Why does my attribute set not work? I know that the attribute set for the table overall (table_light_border), which also comes from Commonfunctions.xsl, works as I can manipulate the values therein and get the expected effect. But my attribute set for my table header seems to have no effect.
Could it be that my table header attribute set cannot override the table attribute set? But my table attribute set only touches border settings, not font.
Your help is much appreciated.