Die onderstaande reëls van die kode uit is om die Path-xml-rekord by te werk(lêer)
SPWeb _web = SPContext.Current.Web; SPList _list = _web.Lists[“SampleFormLib”];
MemoryStream myInStream = nuwe MemoryStream(item.File.OpenBinary()); XmlTextReader leser = nuwe XmlTextReader(myInStream);
XmlDocument doc = nuwe XmlDocument(); doc.Load(leser);
reader.Close(); myInStream.Close();
XmlNamespaceManager nameSpaceManager = nuwe XmlNamespaceManager(doc.NameTable); nameSpaceManager.AddNamespace(“my”, “http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-06-11T12:44:57“);
doc.DocumentElement.SelectSingleNode(“my:Status”, nameSpaceManager).Inner text = “Gestoor”; […]