XMLNoteXMLIn/Out - start mark before end mark, not the other way around.