Integer cs = getAndRemoveParameter(parameters, "transformerCacheSize", Integer.class, 0);
xslt.transformerCacheSize(cs);
ErrorListener errorListener = resolveAndRemoveReferenceParameter(parameters, "errorListener", ErrorListener.class);
if (errorListener != null) {
xslt.errorListener(errorListener);
}
// default to use the cache option from the component if the endpoint did not have the contentCache parameter
boolean cache = getAndRemoveParameter(parameters, "contentCache", Boolean.class, contentCache);