I've been using PyXB to generate bindings for xml flows using its parser, which works, but the parser is giving gives me performance issues. I would therefore would like to try and use lxml instead with my limited experience. How can I make my example here:
import pyxb.binding.saxer
import StringIO
saxer = pyxb.binding.saxer.make_parser()
handler = saxer.getContentHandler()
saxer.parse(StringIO.StringIO(xml))
instance = handler.rootObject()
In lxml?