Trigger only on some XML doc

I’m wondering if is possible to set triggers only on some xml documents and on all xml documents (putting trigger in the TSD)?

Best,
@nto

Hello @nto,

I think that the “normal practice” is to define the trigger so that it is called for all documents, as ‘when which trigger should be called’ is defined in the Tamino schema describing the document.

You could implement the trigger so that it performs different operations depending on the content of the document.

I hope that helps,
Trevor.