Hi Agni,
Here is the code I modified but I still got the error :
Element '
http://schemas.microsoft.com/office/infopath/2003/ado/dataFields} tbl_attendees' is unexpected according to content model of parent
element '
http://schemas.microsoft.com/office/infopath/2003/ado/dataFields} tbl_attendees'.
var sRepeatingNode = "<d:tbl_attendees xmlns:d='http://schemas.microsoft.com/office/infopath/2003/ado/dataFields'><ID>1</ID><Id_attendee>1</Id_attendee><Attendee_name>Christian Côté</Attendee_name><Attendee_status>1</Attendee_status></d:tbl_attendees>";
var xmlParent = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tbl_info/d:tbl_attendees");
var oXml = XDocument.CreateDOM();
oXml.async = false;
oXml.loadXML(sRepeatingNode);
xmlParent.appendChild(oXml.documentElement);
Do you have an idea why it's happening ???
Thanks a million
Christian