Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 20291 invoked from network); 27 Oct 2000 17:02:04 -0000 Received: from f208.law4.hotmail.com (HELO hotmail.com) (216.33.149.208) by locus.apache.org with SMTP; 27 Oct 2000 17:02:04 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 27 Oct 2000 10:01:38 -0700 Received: from 148.88.0.10 by lw4fd.law4.hotmail.msn.com with HTTP; Fri, 27 Oct 2000 17:01:38 GMT X-Originating-IP: [148.88.0.10] From: "Robin Green" To: cocoon-users@xml.apache.org Subject: Re: Cocoon->XSP->XSL Date: Fri, 27 Oct 2000 18:01:38 BST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Oct 2000 17:01:38.0343 (UTC) FILETIME=[92031B70:01C04037] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Virdi,T.J." 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.