ladon-dev-team team mailing list archive
-
ladon-dev-team team
-
Mailing list archive
-
Message #00212
Re: [Question #285886]: Deal with many elements with same name
Question #285886 on ladon changed:
https://answers.launchpad.net/ladon/+question/285886
Description changed to:
I have to deal with request, containing several elements with same names, for example:
<orders>
<order>
...
</order>
<order>
...
</order>
</orders>
I know I can do this like:
from models.order import Order
class Orders(LadonType):
orders = [Order]
But in this case it is necessary to construct xml like that (using
soap11 interface):
<orders>
<item>
<order>
...
</order>
</item>
<item>
<order>
...
</order>
</item>
</orders>
But I don't want that <item> elements, how can I do that without them?
--
You received this question notification because your team Ladon
Developer is an answer contact for ladon.