Andreas L. Delmelle wrote:
java.io.StringReader(xmlIn));
Dunno. Kind of an instinctive reaction, I guess... Why the intermediate
cast?
And why a StringReader in particular?
What cast? IIRC xmlIn is a String, and StreamSource takes a Reader,
an InputStream or a File in the constructor.
new StreamSource(new StringReader(someString))
is a stock idiom.
Handing over the style sheet as byte array, well, this is quite a
bit more unusual...
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]