Hi. I created a sample project from your files, and was initially
getting the same result, with the characters in the file resulting
from your transform being messed up.
I changed all instances of String -> byte[] and byte[] -> String
conversions to specify the character encoding and the resulting xml
was perfect.
The basic changes were to read the xml and xsl into Strings like this:
the sourceXML is the XML data grabbed from database (using
WebObjects's NSXMLOutputStream)
the file is perfect. (some /u000d for CR/LF, but I think is ok)
the SimpleTrasformation.xls is an Apple provided XLST file for
removing unuseful data and simplyfing the XML file.
the destinationXML file is the result of sourceXML trasformed using
SimpleTrasformation.xml
myTrasformer.java is the routine that do the XSLT trasformation.
see the accented letters in destinationXML file...