[appengine-java] Re: How to use XSLT in JAVA

2011-02-19 Thread jacek.ambroziak
XSLT is not a parser, but a language to express XML transformations. 2 questions: 1) why do you need XSLT in your app? 2) do you need high performance? Here I can help w/ software. As to StreamSource, you have other constructors for it, not necessarily using Files! On Feb 18, 2:56 am, Rick Smit

[appengine-java] Re: How to use XSLT in JAVA

2011-02-19 Thread Didier Durand
Hi, Transformer.transform() takes an object implementing the Source interface: see http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html The simplest way on GAE is to work with a DomSource rather than the StreamSource of you sample. To obtain a DomSource, you can parse an