#2 ✓resolved
Guilherme Silveira

2 - allow xml retrieval

Reported by Guilherme Silveira | May 31st, 2010 @ 07:31 PM | in upcoming release

By doing

resource = Restfulie.at('entryuri').get

Where the resource is an application/xml, text/xml as, i.e:

<item>
  <name>product</name>
  <price>2</price>
</items>

resource.item.name # product
resource.item.price # 2

Try using the most important xml unmarshaller in python, in a way it can be changed later:

The get method will retrieve the result, check that "raw" was not invoked, look the Content-type header, and according to its result, using a registering hash, map to a XmlUnmarshaller

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A python port of restfulie

Shared Ticket Bins

People watching this ticket

Pages