Allows transform to optionally output valid XML instead of HTML