Xml example fixes

closes #2319