xsl-list
[Top] [All Lists]

RE: Problem of outputting HTML as literal text to browser

2004-07-08 07:54:02
This question is very processor-specific, so the best option may be to check 
the Apache archives. It appears that LoutsXSL was donated to the Apache 
Software Foundation where it later became Xalan. Maybe a more up-to-date 
version of your processor would help.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     shishir(_dot_)srivastava(_at_)sgcib(_dot_)com
Sent:     Thu, 8 Jul 2004 19:36:23 +0530
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  [xsl] Problem of outputting HTML as literal text to browser


Hi,
I am facing a strange problem.
I am transforming a xml doc using LotusXSL.
Now if the amount of data is huge.
Once in a while ,the parser outputs the HTML tags as literal text to
browser.
e.g.
</td> or <img src="blue_dwn.gif">
this happens very inconsistently.

the code for transforming is as below.

XSLProcessor xp = new XSLProcessor(new XML4JLiaison4dom());
String s="http:<serverName><urlPath>news.xsl";
StringWriter rw = new StringWriter();
java.io.InputStream is = new
java.io.ByteArrayInputStream(str_output.getBytes());
XSLTInputSource xsrc = new XSLTInputSource(is);
XSLTInputSource ssrc = new XSLTInputSource(s);
XSLTResultTarget tout = new XSLTResultTarget(rw);
xp.process(xsrc,ssrc,tout);

P.S.--str_output contains xml doc as string.

Any help ,pointers advise would be highly appreciated.
___________________________
Shishir Srivastava







*****************************************************************
The addressee's email address has changed to
firstname.lastname@ sgcib.com. You may want to update your
personal address book. Please see http://www.sgcib.com for more
information.

This message and any attachments (the "message") are confidential
and intended solely for the addressee(s). Any unauthorised use or
dissemination is prohibited.E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
*****************************************************************


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





<Prev in Thread] Current Thread [Next in Thread>