cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: SV: Cocoon and IE 5.5
Date Tue, 01 Aug 2000 23:54:41 GMT
On Tue, 1 Aug 2000, Martin Erlandsson wrote:

> >Cocoon doesn't have a problem with extensions--IE does (not
> >following spec
> >and forcing everyone to work around their stupidity).
> >
> >The only problem with that solution is that you cannot store real PDF
> >documents in the same context as Cocoon.
> >
> >So it would work like this:
> >
> >rename darkness-novel.xml to darkness-novel.pdf, and set the
> >servlet mapping
> >to have Cocoon process "*.pdf" as well as "*.xml".
> 
> Thanks for your prompt answer!
> 
> I agree, that is *usually* a better solution than the "?.pdf".
> However, I often use parameters to output one xml file to several different
> stylesheets, like:
> 
> .../document.xml?output=pdf
> or
> .../document.xml?output=html
> or
> .../document.xml?output=wap
> 
> I port this through a parameter-testing stylesheet with dynamic processing
> instructions.
> 
> It would take one copy of the xml file for every type of stylesheet I want
> to use, and that kind of kills the idea of parallel publishing. :)
> 
> More suggestions, anyone?

yeah - pick an extension that IE doesn't choose to interpret instead of
examining the content-type mime header (stupid or malicious? you be the
judge) - say .iesux and use that instead of .xml. you can still use your
?output= trick.

- donald


Mime
View raw message