var objField1 = XDocument.DOM.selectSingleNode("//my:myFields/my:field1");
objField1.text = XDocument.Solution.Version;
Easy as pie.