I don't know where the namespace xmlns="example:01test:02" is supposed to come from. Your stylesheet outputs the namespace xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001 .02" as one would expect.
The xsi namespace isn't output because it is listed in exclude-result-prefixes. Perhaps this is the bug - as I suggested, it's in the part of the stylesheet that was omitted from your original post.
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference