def _import_bibdoc():
try:<EOL><INDENT>from invenio.bibdocfile import BibRecDocs, BibDoc<EOL><DEDENT>except ImportError:<EOL><INDENT>from invenio.legacy.bibdocfile.api import BibRecDocs, BibDoc<EOL><DEDENT>return BibRecDocs, BibDoc<EOL>
Import BibDocFile.