I want to convert the stream result output to string since I want
to use it in Junit I think that I need to use the string writer but
Im not sure how exactly to use it.
StreamResult result = new StreamResult(new File("C:\file.xml"));
transformer.transform(source, result);
Thanks
Fedor
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…