Moved xml into the tab panels