cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corda, Ugo" <>
Subject RE: Bypassing Cocoon formatting for certain browsers
Date Tue, 08 Feb 2000 19:05:33 GMT
I am using the latest release of MSXML (1/26/2000 --
<>  ), and
the same XSL file works for IE5 and Cocoon. But I am still using Cocoon 1.5,
and I am not sure it would work under Cocoon 1.6.


		-----Original Message-----
		From:	Edward Ivanovic
		Sent:	February 08, 2000 10:32 AM
		Subject:	RE: Bypassing Cocoon formatting for certain

		Hi Ugo,
		I was trying to work out the same thing some time back until
I realized that
		IE and Cocoon handle XSL differently because they are based
on different
		drafts.  Won't this cause a problem for you?  Or do you
intend to have 2
		different XSL files: one for IE and another for Cocoon?


		-----Original Message-----
		From: Corda, Ugo []
		Sent: Tuesday, February 08, 2000 11:51 AM
		To: ''
		Subject: RE: Bypassing Cocoon formatting for certain

		That was it. Thank you!


				-----Original Message-----
				From:	Stefano Mazzocchi
				Sent:	February 07, 2000 12:23 PM
				Subject:	Re: Bypassing Cocoon
formatting for certain

				"Corda, Ugo" wrote:
				> I tried the hack, but it doesn't seem to
work. IE 5
		displays only the text
				> contents of the copied xml file returned
by Cocoon and
		does not apply the
				> xsl formatting specified.
				> On the other hand, if I manually submit
basically the same
		xml file to IE 5
				> it displays correctly. When I compare the
xml file that
		works with the one
				> returned by Cocoon to IE 5 (by using the
"view source"
		command of IE 5),
				> they are basically identical except for a
<!DOCTYPE html
		... > prepended in
				> the copy returned by Cocoon (but I am not
sure Cocoon is
		the one that
				> generates the DOCTYPE line, it might be IE
				> My interpretation of all this is that when
the xml file is
				> processed by IE 5 it works, but, when
basically the same
		xml file is
				> returned by Cocoon, IE 5 tries to process
it as if it was
		an HTML file (and,
				> of course, it does not work). I am not
sure what triggers
		this different
				> behavior of IE 5. Does Cocoon return some
kind of clue
		that identifies the
				> returned object as an HTML file, even when
it is supposed
		to be an xml file
				> (I used <xsl:output method="xml"/> in the
copy transform)?

				Are you using <?cocoon-format
type="text/xml"?> ???

				You must indicate to IE5 that what you have
is XML.

				Stefano Mazzocchi      One must still have
chaos in oneself
		to be
				                          able to give birth
to a dancing
				 Come to the first official Apache Software

				To unsubscribe, e-mail:
				For additional commands, e-mail:

		To unsubscribe, e-mail:
		For additional commands, e-mail:

		   Securities Products and Services Are Offered By  J.C.
Bradford & Co.,  
		                        Member SIPC And NYSE, Inc.

		YOUR ACCOUNT BY EMAIL.  Transactional details do not
supersede normal trade
		confirmations or statements.  Electronic mail sent through
the Internet is
		not secure.  J.C. Bradford & Co. reserves the right to
monitor all e-mail.

		The information provided has been prepared from sources
believed to be
		reliable, but is not guaranteed by us and is not a complete
summary or
		statement of all available data necessary for making an
investment decision.
		This is for informational purposes only and does not
constitute a
		recommendation.  J.C. Bradford & Co., its partners and
employees may own
		options, rights or warrants to purchase any of the
securities mentioned.

		The information transmitted is intended only for the person
or entity to
		which it is addressed and may contain confidential and/or
		material. Any review, retransmission, dissemination or other
use of, or
		taking of any action in reliance upon, this information by
persons or
		entities other than the intended recipient is prohibited. If
you received
		this in error, please contact the sender and delete the
material from your

		To unsubscribe, e-mail:
		For additional commands, e-mail:

View raw message