<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have been working with a class called
XMLFormatter. My goal is to read external documents' formats, receive them as a
string, build an XML document and apply a Style Sheet to deploy them to the
client.</FONT></DIV>
<DIV><FONT face=Arial size=2>I decided to use JDOM with SAX parsers. As an
XSLProcessor, I am trying to use Xalan API, but I cannot seem to find any
example of how to output XML to an XSLProcessor and apply a style sheet to it. I
am using Java, but I consider myself beginner in it. I have been using
the book Java and XML from Brett McLaughlin to help me with this task. I
would like to know if someone could give me some hints on how to continue
implementing this class and if I have choosen the right solution or not.
Important: This class is supposed to work with Servlets that will send it input
strings, but we want to build it generic enough so that it won't have any
dependency on servlets' structure.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thank you,</FONT></DIV>
<DIV> </DIV>
<DIV></FONT><FONT face=Arial size=2>Ana Paula Fernandes<BR>Health System
Information Services<BR>University of Alabama at Birmingham<BR>email: <A
href="mailto:afernandes@ws.uabmc.edu">afernandes@ws.uabmc.edu</A><BR>phone:
(205) 975-5447</FONT></DIV></DIV></BODY></HTML>