Implement setting xml for selected nodes.