xml reader/writer edits