gib65 Posted June 4, 2014 Share Posted June 4, 2014 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. Link to comment Share on other sites More sharing options...
L8V2L Posted July 2, 2014 Share Posted July 2, 2014 I'm still learning myself. Make sure the formats right, validate it, if you haven't already. Rewrite it. Go over the material. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now