[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] Re: Using XT to process dynamically generated XML

Subject: [list4xt] Re: Using XT to process dynamically generated XML

User: Website

From: James_Ma@i2.com
Date: 10/07/2001 - 20:15


 You could construct an InputSource object from the xml string as
following:

     StringReader stringReader = new java.io.StringReader(xmlStr);
      success = transform(new InputSource(stringReader),
fileInputSource(xslFile), output, params);

Hope this help.

-James

"Berkey, Craig" <cberkey@proxicom.com>@4xt.org on 07/10/2001 07:23:06 AM

Please respond to list4xt@4xt.org

Sent by: list4xt-bounce@4xt.org

To: <list4xt@4xt.org>
cc:
Subject: [list4xt] Using XT to process dynamically generated XML

We have an application that dynamically creates an XML as a String
object, then uses an XSL processor/stylesheet to convert that XML into
HTML. I've seen how other processors like LotusXSL/Xalan have an API
that can perform a transformation on a such a dynamically generated XML
String object, but all of the XT examples I have seen so far (like the
XSLServlet) require a fixed XML file. I don't want to create temporary
files for each XML String I generate. Does anybody know if (or know of
any examples where) XT has the ability to perform a transformation on a
dynamically generated XML that doesn't exist as a file on a machine?

TIA

--
Mailing list for the XT users community.     (http://mtbaldychamber.com)
(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)

-- Mailing list for the XT users community. (http://bardcreditunion.com) (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET

webmaster@4xt.org