Using AIF to output Invoice XML in BASDA format


I was wondering if anyone has had any success for converting the XML output of a Sales Invoice into the BASDA format using XLST? If so where would I start? I can output the XML but I’m not sure how I would transform it into the BASDA schema. Any help appreciated.