Hi burak

On 2 December 2010 13:12,  <[email protected]> wrote:
[...]
> http://codespeak.net/lxml/objectify.html#python-data-types
>
>>>> from lxml import objectify
>>>> root = objectify.fromstring("<root><a>test</a><b>5</b></root>")
>>>> root.a
> 'test'
>>>> root.a.pyval
> 'test'
>>>> root.b
> 5
>>>> root.b.text
> '5'
>>>> root.b.pyval
> 5
>
> look at doing it with a schema if you want to avoid guesswork.
>
> http://codespeak.net/lxml/objectify.html#asserting-a-schema

Interesting.  But the client is C++, so not sure I can use that :)

Thanks.

-- 
Michael Wood <[email protected]>
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to