public static boolean init(Transformer transformer, LocalDebugger dbg) {
    if (transformer instanceof Controller) {
      System.out.println("SAXON");
      final Controller controller = (Controller)transformer;
      controller.setLineNumbering(true);
      controller.addTraceListener(new SaxonTraceListener(dbg, controller));
      return true;
    }
    return false;
  }
public static boolean init(Transformer transformer, LocalDebugger dbg)