Retaining Document URI after transformation