Hi,
Here is the way to go about this problem.
1. You will get XML in the form of
String or Stream in the JSP file.
2. The parser you are using can be of DOM or SAX. I am not sure of XALAN. I think it is DOM parser. There will be methods to pass this XML in to the parser instant in the form of String or Stream.
3. Create the parser instant in the JSP file or
Servlet and pass the XML to the parser.
4. Now the parser will be loded with your XML and you traverse and do the work on this XML in your JSP or Servlet.
Hope this helps.
Cheers.