Generates bindings from the XML-File, if the slot is set, or from the parse-tree. If neither XML-File or parse-tree is set, an error is signalled.