Have you read through this? http://xml.apache.org/xalan-j/usagepatterns.html#embed
In terms of getting input from a stream, remember that you can always use a StreamSource() which takes a number of different arguments for constructors. The only thing to remember (and this isn't really a Xalan issue, it's a Java issue) is that if you have an InputStream and use it once, you may either need to reset it somehow or recreate it if you're going to use it again. (i.e. you often can only effectively read from an InputStream object instance once) Of course if you have your XML in a String object or the like, you can simply define a new StringReader object each time you need to read from it. - Shane ===== <eof aka="mailto:[EMAIL PROTECTED]" quote="A mirror is like a window on the other side of behind you."/> __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
