How to set a specific attribute set for specific titles in DITA OT's FOP Plugin?
===

I'm struggling a bit with a customization to the OT's PDF plugin (using FOP). What I'd like to do is use a custom attribute set for all topic titles that have a certain value for @outputclass. I've successfully defined the custom attribute set. But I'm not sure as to the correct template to write, because the one I have written breaks the PDF file's bookmarks. This is what I have in custom.xsl:

    <xsl:template match="*[contains(@class,' topic/topic ')]/*[contains(@class,' topic/title ')][@outputclass='drilltitle']">
    <fo:block xsl:use-attribute-sets="hkdrill.title">
        <xsl:apply-templates/>
    </fo:block>
    </xsl:template>   

Any help would be much appreciated.

Thanks,
Steven