Hi,
Try changing this:
XmlElement novDatum = newDoc.CreateElement("datum");
novArtikel.AppendChild(novDatum);
XmlElement novNabave = doc.CreateElement("nabave");
novNabave.InnerText = a.datumNabaveA;
novDatum.AppendChild(novNabave);
into this:
XmlElement novDatum = newDoc.CreateElement("datum");
XmlElement novNabave = doc.CreateElement("nabave");
novNabave.InnerText = a.datumNabaveA;
novDatum.AppendChild(newDoc.ImportNode(novNabave, true));
novArtikel.AppendChild(novDatum);
Hope this helps.