On Sun, 2010-08-15 at 18:03 +0200, Dirk Meyer wrote:
> Well, this does not work due to the minus. But the following (ugly code)
> shoudl work (untested)
>
> node.add_child("video", **{"mplayer-options": "foo"})
Yes, I already suggested that earlier in this thread. :)
So now it's more a question of how do we fix kaa.xmlutils to support
this. Either implement __setitem__ and __getitem__ or implement
__setattr__ and always translate underscores in python to dashes in xml
attributes.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel