converting drugbank to TSV using XSLT and xsltstream http://lindenb.github.io/jvarkit/XsltStream.html
e.g:
java -jar dist/xsltstream.jar \
-n '{http://www.drugbank.ca}drug' \
-t drugbank2tsv.xsl \
/path/to/full_database.xml
Lepirudin approved CHEMBL1201666 46507011
Cetuximab approved CHEMBL1201577 46507042
Dornase alfa approved CHEMBL1201431 46507792
Denileukin diftitox approved->investigational CHEMBL1201550 46506950
Etanercept approved->investigational CHEMBL1201572 46506732
Bivalirudin approved->investigational OIRCOABEOLEUMC-GEJPAHFPSA-N CHEMBL2103749 16129704 46507415
Leuprolide approved->investigational CHEMBL1201199 46507635
Peginterferon alfa-2a approved->investigational CHEMBL1201560 46504860
Alteplase approved CHEMBL1201593 46507035
Sermorelin approved->withdrawn 46507399
Many thanks, Pierre for your help! I found Samuel's approach a little bit more complicated since you have to install GO language, so followed your approach by tweaking a little bit the xslt template from your example. I would really appreciate it if you could take a look at it and tell me your thoughts cause I am not so familiar with XML.
Thank you very much in advance, Vasilis.