IIRC, earlier this month, clawson posted a link to good information on handling Amel's device description xml files with python.
The post I am thinking of misspelled python.
So far, I have not been able to find it again.
Perhaps someone, e.g. clawson, would be kind enough to help.