In documentation:
Updating multiple cells with a batch request
http://code.google.com/apis/spreadsheets/docs/3.0/developers_guide_protocol.html#SendingBatchRequests

Example:

<feed xmlns="http://www.w3.org/2005/Atom";
      xmlns:batch="http://schemas.google.com/gdata/batch";
      xmlns:gs="http://schemas.google.com/spreadsheets/2006";>

Does this:
=============================================================
  <id>http://spreadsheets.google.com/feeds/cells/key/worksheetId/
private/full</id>
=============================================================

need to be changed to this?
-->

=============================================================
<entry>
    <batch:operation type="update"/>
  <id>http://spreadsheets.google.com/feeds/cells/key/worksheetId/
private/full</id>
</entry>
=============================================================


Because in Writing a batch operations feed:
http://code.google.com/apis/gdata/batch.html#Writing_Feed

I am reading:
"An operations feed contains a list of entries to insert, update,
delete, or query. Each operation is defined by a <batch:operation
type="insert|update|delete|query"/> element.
This element may be a direct child of a <feed> element, a direct child
of any of the entries in the feed, or both. When included in an entry,
it specifies the operation to execute for that specific entry. When
included in the feed, this element specifies the default operation to
execute on any entries that do not have a <batch:operation/> element."

Later in documentation:

"Update operations
Here is an example of an update request:
<entry>
  <id>http://www.google.com/base/feeds/items/17437536661927313949</id>
  <batch:operation type="update"/>
  ...
</entry>"

It seems to me

  <id>http://spreadsheets.google.com/feeds/cells/key/worksheetId/
private/full</id>

has to be included between <entry>...</entry>


I am asking because when sending a request as in the documentation I
am getting an error
like "...root element error..."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to