Look at write-processing-instructions method of sax-writer. In your case it would be something like:
Code:hSax:write-processing-instruction("xml-stylesheet", "type=""text/xsl"" href=""xslExample_fulltable.xsl""").
turn off strict option: hSax:strict = false