process_mesh_xml: Process MeSH XML data with improved error handling
Description
Helper function to process MeSH XML data and extract terms
Usage
process_mesh_xml(mesh_records, dictionary_type)
Value
A data frame with MeSH terms
Arguments
- mesh_records
XML data from MeSH database
- dictionary_type
Type of dictionary