moss - GetListitems results from SharePoint? -


GetListitems Web service relies on XML to get data from SharePoint

Some actual work codes Is:

  var doc = new XmlDocument (); Doc.LoadXml ("& lt; document & gt; & lt; query & gt; & lt; ou & gt; & lt; in & gt; & lt; field-name = \" delivery status \ "/> & gt; Lt; value type = \ "text \" & gt; created & lt; / value & gt; & lt; / include & gt; & lt; / where & gt; & lt; / query & gt; & lt; view area /> & Lt; query options / & gt; & lt; / document & gt; XmlNode listQuery = doc.SelectSingleNode ("// query"); XmlNode list view field = doc.SelectSingleNode ("// ViewFields"); XmlNode ListQueryOptions = doc.SelectSingleNode ("// Query Options"); XmlNode Item = wsLists.GetListItems (ListName, string.Empty, listQuery, listViewFields, string.Empty, listQueryOptions, Zero);  

XMLNode Aba After being arrested, is there a way to test and test the collection of children's collections?

I know how it works in the way of using normal techniques, but what makes me I'm aware of something unknown to me that I am unaware of. For example, I have noticed that during the first few tests, the first and final item is empty I am surprised that it is an exception rather than a rule . It is impossible to know from MSDN documentation, so if any of you experience with it please share.

In advance thanks

Do you mean FirstChild and LastChild sometimes empty Are you OK, if you have & lt; QueryOptions / & gt; And if there are tags like this, it means that they do not have any child, by logic I think those qualities should be empty.

Or is there any other problem with that?


Comments