I`ve created new .ent and .mod file with my custom tag element (<kword>) to be used inside <codeblock> element. Then I've connected .mod and .ent files to topic.dtd file. Parameters of new tag elements (font-style, color etc) was declared in skin.css during webhelp publishing. Everything was ok.
But now I need to publish my ditamap also in PDF using default Apache-FOM. I type following text inside my custom.xsl:
Code: Select all
<xsl:template match="*[contains(@class,' topic/kword ')]">
But after publishing my <kword> element does not became red-colored. Changing design of standart elements with custom.xsl works fine. Could you tell where I might be wrong?