[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ANN: LotusXSL on IBM's AlphaWorks

Subject: RE: ANN: LotusXSL on IBM's AlphaWorks
From: anette.engel@xxxxxxxx
Date: Mon, 28 Dec 1998 15:20:56 +0100
anette engel
Dear Ferenc,

Thanks for your response.

I am working on a servlet which handles HTTP client requests.The sevlet
process data
posted over HTTPS using an HTML form. It has to
1. consruct a XML document from the incoming data
2. store the XML document
3. transform the XML document using a XSL style sheet to a HTML document
4. process the XML document using a XSL style sheet to build a RTF document

In my demo program the servlets response to the client request is only
constructing
the XML document, tranforming the XML document to a HTML document using a
XSL
style sheet and post the resutling HMTL document back to the client.

For this purpose the XSLEval class of the KOALA engine and its constructor
was quite useful:

public XSLEval(Document XML, Document XSL,  OutputStream print,
XSLErrorHandler error)

which takes the DOM representation of the XML document and the DOM
representation of
the XSL document and prints the transformed result  to a specified
OutputStream.

In a short my programm looks like:

TXDocument mydoc = new TXDocument();
...
// Creating a new document
...
 XslDOM = DOMXMLFactory.getDocument(myStyleSheet, errHandler);
XSLEval xsleval = new XSLEval((Document)mydoc, XslDOM, out, errHandler);
...

In my program I'd like to take the DOM representation of my XML document
and convert it
according to XSL stylesheet. But when having a quick look to the LotusXSL
API I only
found classes and methods which take a URL to a XML document.

Now I am wondering if I have missed something when having a quick look to
the
documentation ofthe  LotusXSL API, or wether I have to store my document
first in
a File and the I have to read it again using the LotusXSL API and then I
can transform it.

Regards and a happy new year

Anette Engel
IT Engineer
New Media Group
anette.engel@xxxxxxxx





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.