Output XML that looks like the API's XML output for a note.