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

SAX Transformation: Servlet returns blank XSL template

Subject: SAX Transformation: Servlet returns blank XSL template
From: "Bruce McDougald" <bmcdougald@xxxxxxxxxxx>
Date: Wed, 9 Oct 2002 11:44:52 -0500
sax transform
I am using SAX to read and transform an XML document in a servlet.  When I
call the servlet the first time (from the browser) everything works great
and I get transformed HTML output to my browser.  When I call the servlet
the second
time in the same manner, I basically get a my XSL stylesheet template
returned with no elements on it.
The XML is generatedand served via a CGI call and my XSL stylesheet is
passed to the
transform process by its URL.  Interestingly enough, if I put my servlet
code in another java container called a Domino agent I get the same results:
works the first time, blank template afterwards.  It seems like the
servlet/agent is trying to do something on the second go-round, but in the
end has nothing to process and draws a blank.

Question:

When using a SAX reader and XMLFilter do the objects stay in memory and have
to be closed and then re-opened/re-initialized, or something to that effect?


- Bruce

 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.