@classmethod<EOL><INDENT>def parse_xml(cls, node, runtime, keys, id_generator):<DEDENT>
config = parse_from_xml(node)<EOL>block = runtime.construct_xblock_from_class(cls, keys)<EOL>for key, value in config.iteritems():<EOL><INDENT>setattr(block, key, value)<EOL><DEDENT>return block<EOL>
Instantiate XBlock object from runtime XML definition.

Inherited from XBlock core.