def get_entry_categories(self, category_nodes):
categories = []<EOL>for category_node in category_nodes:<EOL><INDENT>domain = category_node.attrib.get('<STR_LIT>')<EOL>if domain == '<STR_LIT>':<EOL><INDENT>categories.append(self.categories[category_node.text])<EOL><DEDENT><DEDENT>return categories<EOL>
Return a list of entry's categories
based on imported categories.