Use a custom label for other-type notes

Specify a custom label for use with <note> elements whose type attribute is set to "other".

The type attribute on the note element has a large set of pre-defined values you can choose from, each which has a default label. If you need a note type that’s not in the list, set the value of type to "other" and the value of type to the label you want. That works fine if you want the label to be the same as the value of type. But what if you want the label to be different?

Your template specification calls for a custom note label: "Best Practice." Here’s how to set that up.

  1. If it is not already present copy the template that begins with the following from DITA-OT/plugins/org.dita.pdf2/xsl/fo/commons.xsl ...