Apply configuration transforms in memory to any xml document