def supp_asset(tag):
<EOL>asset = '<STR_LIT>'<EOL>if first(extract_nodes(tag, "<STR_LIT:label>")):<EOL><INDENT>label_text = node_text(first(extract_nodes(tag, "<STR_LIT:label>"))).lower()<EOL>if label_text.find('<STR_LIT:code>') > <NUM_LIT:0>:<EOL><INDENT>asset = '<STR_LIT:code>'<EOL><DEDENT>elif label_text.find('<STR_LIT:data>') > <NUM_LIT:0>:<EOL><INDENT>asset = '<STR_LIT:data>'<EOL><DEDENT><DEDENT>return asset<EOL>
Given a supplementary-material tag, the asset value depends on
its label text. This also informs in what order (its ordinal) it
has depending on how many of each type is present