Fixed bugs relating to title edit and building of xml nodes where more than one attribute is present