The annotation p.table-title is used to create a title for the table if the title is in a table cell; if the title is outside of the table, you will need to use a different annotation to create the title. The annotation p.title.for-following-content would be a good choice, if the title is before the table. If the title is after the table, you can use the annotation p.shift-into-preceding-table along with p.table-title to get the title placed appropriately.
The following image shows you what a table with a title may look like in your original document.
This image shows you how to create a table title rule for the title of the table.
The following XML is what the code for the example table title could look like.