W
William Park
Willem Ligtenberg said:ID --> <Gene-track_geneid>320632</Gene-track_geneid> ....
Product-type --> <Entrezgene_type value="protein-coding">6</Entrezgene_type> ....
EC --> <Prot-ref_ec>
<Prot-ref_ec_E>1.5.1.5</Prot-ref_ec_E>
<Prot-ref_ec_E>3.5.4.9</Prot-ref_ec_E>
</Prot-ref_ec> ....
Some can happen more than once in a record.
Since all your data are contained in unique tags on individual lines,
you can tackle this so many different ways. Okey, that's your input
format. What is your output format?