Skip to main content
1 of 2
Dominic Cronin
  • 18.5k
  • 3
  • 23
  • 74

This might be your problem:

component.Schema.Equals("XSLT Test - Ignor")

component.Schema won't give you the title of the schema.

It might help you in the future to put some logging in your events code, so that you can see if it goes to the else clause. And of course, you should know how to attach a debugger.

Dominic Cronin
  • 18.5k
  • 3
  • 23
  • 74