Return "action" of a note comment in the xml formatting to

This fixes #360