From mnorman@cup.hp.com Thu Nov 2 17:49:40 2000 Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 77295 invoked from network); 2 Nov 2000 17:49:40 -0000 Received: from palrel1.hp.com (156.153.255.242) by locus.apache.org with SMTP; 2 Nov 2000 17:49:40 -0000 Received: from xsvr9.cup.hp.com (xsvr9.cup.hp.com [15.13.188.148]) by palrel1.hp.com (Postfix) with ESMTP id 462F722AC for ; Thu, 2 Nov 2000 09:49:39 -0800 (PST) Received: from cup.hp.com (localhost [127.0.0.1]) by xsvr9.cup.hp.com (8.8.6 (PHNE_17190)/8.8.6) with ESMTP id JAA12084 for ; Thu, 2 Nov 2000 09:49:38 -0800 (PST) Sender: mnorman@cup.hp.com Message-ID: <3A01A932.A3AC9D09@cup.hp.com> Date: Thu, 02 Nov 2000 09:49:38 -0800 From: Mark Norman Organization: Hewlett Packard X-Mailer: Mozilla 4.51 [en] (X11; I; HP-UX B.11.00 9000/889) X-Accept-Language: en MIME-Version: 1.0 To: general@xml.apache.org Subject: Re: DefaultApplyXSL References: Content-Type: multipart/alternative; boundary="------------4FF74D225C9D9649A082E363" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --------------4FF74D225C9D9649A082E363 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 @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: > > > > It still gives the same result. I am attaching my xml > and xsl files. Here is how I am invoking the servlet: > > 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 > > 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 > > > > > > > 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 > > Books on XML > |-| > | | > |-| > > Written by . Published by 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 --------------4FF74D225C9D9649A082E363 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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

--------------4FF74D225C9D9649A082E363--