- Changes: - Allow scalar references for the OUTPUT parameter - Added ENCODING parameter; currently only UTF-8 is supported - Escape newlines in attribute values