cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Cocoon->XSP->XSL
Date Fri, 27 Oct 2000 18:01:38 GMT
"Virdi,T.J." <TVIRDI@cerner.com> wrote:
>I am trying to use Cocoon to support distinct user devices as Cocoon
>framework is capable to do. Somewhere I am making a mistake and I am not
>able to change the XML data by applying XSL stylesheet. I am able to run
>example correctly so there is something in my code that is messing things
>up. I am calling a FILE1.XML (code to follow) from PDA device. After 
>getting
>data from bean, it applies personOut-wml.XSL(Code at the bottom). I would
>presume that presentation would change to "Text/wml" but instead I get an
>error on PDA device that MIME type "text/plain" not supported. After
>debugging, I found data returned to a device (in Hex.) is purely 
>translation
>of personOut-wml.XSL in plain text instead of text/wml as I was expecting.
>Would someone please tell me what am I doing wrong? Is there something that
>I am missing in the code? Your assistance on this is highly appreciated.

This FAQ may help:

http://xml.apache.org/cocoon/faqs.html#faq-waperror

>P.S.: I was also wondering if I can dynamically change XSL to a particular
>device.

Yes, that's also in the FAQ. See

http://xml.apache.org/cocoon/faqs.html#faq-stylesheetreq




_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message