code: @Nullable
    public static Transformer newTransformer (@Nonnull final TransformerFactory aTransformerFactory,
                                              @Nonnull final IReadableResource aResource)
    {
      ValueEnforcer.notNull (aResource, "Resource");
  
      return newTransformer (aTransformerFactory, TransformSourceFactory.create (aResource));
    }
docs: Create a new XSLT transformer for the passed resource.
  
  @param aTransformerFactory
  The transformer factory to be used. May not be <code>null</code>.
  @param aResource
  The resource to be transformed. May not be <code>null</code>.
  @return <code>null</code> if something goes wrong