internal_generateXMLfromBiopax: This function generates the xmlTree from the supplied biopax model.
Description
This function is used internally by writeBiopax. It can
also be called directly with a fitting dataframe in
list(df=data.frame()), but this will probably break things.