Michael Harrison
View profile
         More options May 6, 9:37 pm
From: Michael Harrison <[EMAIL PROTECTED]>
Date: Mon, 07 May 2007 04:37:10 -0000
Local: Sun, May 6 2007 9:37 pm
Subject: Namespace difficulties
Reply | Reply to author | Forward | Print | Individual message | Show
original | Remove | Report this message | Find messages by this author
Hello,

When I execute a query against my items feed using the Python client,
the resulting XML looks like the following:

<ns0:feed>
<ns1:totalResults>4</ns1:totalResults>
<ns1:itemsPerPage>25</ns1:itemsPerPage>
<ns1:startIndex>1</ns1:startIndex>
        <ns0:entry>
        ....
        ....

When I try to parse the results using libxml2, I get an error that the
prefix 'ns0' is not bound to a namespace.  I've looked through the
various GData documentation sites and have been unable to find how to
deal with this issue.  Is there any reason why the root node doesn't
declare the namespaces?  Perhaps I am executing the query incorrectly?

Thank you,
-Michael


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to