Preserve attributes when setting XML elements.
Implement author command.