Merge the XML and the XSL files into a HTML formatted file through a xml transformer (ocx, dll, .net, command line, by hand..) and load it into a WD html control inside your form.
And there you get your XML well formatted according to the selected XSL stylesheet.
Maybe there are more elegant ways to do it but this will work fore sure.
Happy to help when I can.