Reads in a define xml and creates a code_list table. The code_list table is a nested tibble where each row is a code list or permitted value list. The code column contains a vector of a tibble depending on if it is a permitted values or code list
xml_to_codelist(doc)
xml document
a tibble containing the code list and permitted value information
Other xml builder:
xml_to_derivations()
,
xml_to_ds_spec()
,
xml_to_ds_vars()
,
xml_to_value_spec()
,
xml_to_var_spec()