title: Modifying a document's ContentType with Sharepoint 2010 web services
body: <p>it seems like the Sharepoint List Service's <a href="http://msdn.microsoft.com/en-us/library/websvclists.lists.updatelistitems.aspx" rel="nofollow">UpdateListItems</a> is the right function to use, but what is the right xml to use to actually update a specific document's content type?  So, if I had this to start:</p>
  
  <pre><code>XmlDocument xmlDoc = new XmlDocument();
  XmlElement updates = xmlDoc.CreateElement("Batch");
  updates.SetAttribute("OnError", "Continue");
  updates.SetAttribute("ListVersion", "0");
  updates.SetAttribute("ViewName", "");
  updates.InnerXml = "&lt;Method ID="1" Cmd="Update"&gt;&lt;what should go here?/&gt;&lt;/Method";
  
  ListService.UpdateListItems(repositoryId, updates);
  </code></pre>
  
  <p>What should the Inner xml look like to update the list item's contenttype?</p>