Issue 333 ebi xml gen and sub

:+1: