XPDL Migration Injector
The XPDL Migration Injector is implemented in the com.tibco.xpd.analyst.resources.xpdl2.xpdlMigrationInjector plugin.
The XPDL Migration Injector allows a contributor to inject an extra xslt transformation into the sequence of migration xslts used to bring a TIBCO Business Studio XPDL process package file from its defined format version to the current format version of TIBCO Business Studio.
Each TIBCO Business Studio XPDL contains the format version extended attribute of the version of TIBCO Business Studio it was created with or for. If the format version is less than that in current use by the version of TIBCO Business Studio in question it is migrated to the latest format version via a sequence of xslt transformations. Each transformation increases the format version by 1 and performs the necessary transformations to convert the file from one format version to the next format version.
The contributor can decide upon a format version (which governs at what point in the migration sequence it is executed) and whether it should be executed before or after the built in TIBCO Business Studio transformation between the 2 versions.
Great care should be taken to ensure that undesirable side effects are avoided and that unaffected XPDL elements are output from the transformation unchanged.