Issue 333 ebi xml gen and sub

There is an issue open about this, will it be OK to merge this and then
figure it out? As you said, this is a nice to have but not a must have for
this to work.