xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald_Les...@lotus.com
Subject Re: DefaultApplyXSL
Date Thu, 02 Nov 2000 18:49:54 GMT

Yes, servlet.ApplyXSLT is in Xalan-J 2, not Xalan-J 1.x. It contains the
fix that Scott referred to. I have not seen any evidence of the problem you
describe with either version, but you might try Xalan-J 2. . Alternatively,
you could patch the improved getContentType from version 2 to version 1 and
rebuild the sample applet.  -- Don




Mark Norman <mnorman@cup.hp.com>@cup.hp.com on 11/02/2000 12:49:38 PM

Please respond to general@xml.apache.org

Sent by:  mnorman@cup.hp.com


To:   general@xml.apache.org
cc:    (bcc: Donald Leslie/CAM/Lotus)

Subject:  Re: DefaultApplyXSL

Hi Don,


I am using Xalan 1.2 (xalan-j_1_2.tar.gz         13-Oct-2000 16:37   2.6M
Latest stable build)
I think servlet.ApplyXSLT is in the 2.0 devloper release, but not in 1.2.


Thanks,
Mark Norman



Donald_Leslie@lotus.com wrote:
     Have you mapped "DefaultApplyXSL" (in your URL below) to
     "servlet.ApplyXSLT"? That is the Xalan-J 2 class name. -- Don


     Mark Norman <mnorman@cup.hp.com>@cup.hp.com on 11/01/2000 01:33:31 PM


     Please respond to general@xml.apache.org


     Sent by:  mnorman@cup.hp.com


     To:   general@xml.apache.org
     cc:    (bcc: Donald Leslie/CAM/Lotus)


     Subject:  Re: DefaultApplyXSL


     Hi Don and Scott,


     I tried adding an output method directive:


     <xsl:output method="html" />


     It still gives the same result. I am attaching my xml
     and xsl files. Here is how I am invoking the servlet:


     <a
     href="
     http://10.0.2.21/egold/servlet/DefaultApplyXSL?URL=/xml/books.xml&xslURL=/xml/book_table.xsl&debug=true

     "
     target="data_frame">XML Books in table form</a>


     Thanks,


     Mark Norman


     Donald_Leslie@lotus.com wrote:


     > Mark and Scott,
     >
     > Yes, we made a fix to getContentType() in ApplyXSLT. The content
     type is
     > "text/html", "text/plain", or "text/xml", depending on the output
     method.
     > If the output method is not html or text, the method returns
     "text/xml".
     > Mark, perhaps you should check the output method specied in the
     stylesheet
     > to make sure it is "html".
     >
     > -- Don
     >
     > Scott_Boag@lotus.com on 10/31/2000 12:34:45 PM
     >
     > Please respond to general@xml.apache.org
     >
     > To:   general@xml.apache.org
     > cc:   Donald_Leslie@lotus.com
     >
     > Subject:  Re: DefaultApplyXSL
     >
     > I think the change that was made was that the http header was
     properly
     > marked with "text/html".  The problem you are having should have
     gone
     away,
     > instead of appeared.  Don?
     >
     > -scott
     >
     >                     Mark Norman
     >
     >                     <mnorman@cup.        To:
     general@xml.apache.org
     >
     >                     hp.com>              cc:     (bcc: Scott
     > Boag/CAM/Lotus)
     >                     Sent by:             Subject:
     DefaultApplyXSL
     >
     >                     mnorman@cup.h
     >
     >                     p.com
     >
     >                     10/30/00
     >
     >                     02:23 PM
     >
     >                     Please
     >
     >                     respond to
     >
     >                     general
     >
     > > Hello,
     > >
     > > I was using the DefaultApplyXSL servlet supplied with xalan
     > > with no problems a few months ago. I just installed the
     xalan-j_1_2
     > > version and I am getting different behavior. The output from
     > > DefaultApplyXSL is displayed as html source in the browser
     > > instead of the rendered html. I am using netscape 4.73. My other
     > > servlets that produce html are displaying the rendered format.
     > >
     > > Any ideas?
     > >
     > > thanks,
     > >
     > > Mark Norman
     >
     >
     ---------------------------------------------------------------------
     > In case of troubles, e-mail:     webmaster@xml.apache.org
     > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
     > For additional commands, e-mail: general-help@xml.apache.org
     >
     >
     ---------------------------------------------------------------------
     > In case of troubles, e-mail:     webmaster@xml.apache.org
     > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
     > For additional commands, e-mail: general-help@xml.apache.org
     >
     >
     ---------------------------------------------------------------------
     > In case of troubles, e-mail:     webmaster@xml.apache.org
     > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
     > For additional commands, e-mail: general-help@xml.apache.org
     <?xml version="1.0"?>
                                    Books on XML
     |-|
     | |
     |-|


     Written by . Published by <?xml version="1.0"?> Dan Keller Prentice
     Hall
     Brent Norman O'Reilly and Associates Hiroshi Maruyama Kent Tamura
     Naohiko
     Uramoto Harcourt Brace Scott Horton YAXB Press This book provides many

     examples of working XML applications. A CD which contains the examples
     is
     included.
     ---------------------------------------------------------------------
     In case of troubles, e-mail:     webmaster@xml.apache.org
     To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
     For additional commands, e-mail: general-help@xml.apache.org


     ---------------------------------------------------------------------
     In case of troubles, e-mail:     webmaster@xml.apache.org
     To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
     For additional commands, e-mail: general-help@xml.apache.org








Mime
View raw message