Ah, I see what you're saying. Another option, though, would be to have the flag
on the xml_emitter constructor; then you just need to pass it from setup(), and
wouldn't need to change the emit_item() signature. I haven't looked deeply to
see whether it would be possible to get the option value easily at setup() time
or not, though.
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp