Yes, although tooltips have relatively well-defined appearance, whereas annotations can be positioned and styled in more flexible ways which may require offering a more complete interface to set their properties.
I need to annotate <ins> and <del> tags with the associated errata number in a specification process I'm working on.
Something like: "Errata B20, Part 1 of 4" Ideally, using the highlight text with note annotation. Perhaps also including the errata number as the "author" so that the Acrobat "filter comments by author" feature can help locate all parts of a given erratum.
If I can't do anything in PrinceXML, then I would have to do something ugly. Options I'm thinking of are:
* Output tooltips and then have a Javascript program in some other tool (Acrobat DC for instance), convert tooltips into comments. * Use the PrinceXML box interface and emit an xfdf file with the right content. Use Acrobat to import that xfdf file.