title: How to set a specific attribute set for specific titles in DITA-OT's PDF2 Plugin?
body: <p>I'm struggling a bit with a customization to the OT's PDF2 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:</p>
  
  <pre><code>&lt;xsl:template match="*[contains(@class,' topic/topic ')]/*[contains(@class,' topic/title ')][@outputclass='drilltitle']"&gt;
  &lt;fo:block xsl:use-attribute-sets="hkdrill.title"&gt;
      &lt;xsl:apply-templates/&gt;
  &lt;/fo:block&gt;
  &lt;/xsl:template&gt;   
  </code></pre>
  
  <p>Any help would be much appreciated.</p>
  
  <p>Thanks,
  Steven</p>