I18n get rid of namespace declaration

2002-06-03 Thread Franosch, Heike
Hi all, I am happily using the i18n transformer that really runs fine. My problem now is, the application receiving the output does not like the namespace declaration. Is there a way to get rid of it? I already tried appending a self transformer and useing the exclude-result-prefix. But in here

RE: Very Important: Deploy Servlets in the Cocoon Context

2002-05-23 Thread Franosch, Heike
Hi, maybe this can help you as a starting point: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101920645513225&w=2 Heike > -Original Message- > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 2:00 AM > To: [EMAIL PROTECTED] > Subject: Very Importan

RE: logging of xslt output

2002-04-23 Thread Franosch, Heike
April 23, 2002 6:06 AM > To: [EMAIL PROTECTED] > Subject: RE: logging of xslt output > > > > From: Franosch, Heike [mailto:[EMAIL PROTECTED]] > > > > Hi all, > > > > is it possible to log the whole xslt output? > > Yes.

RE: special characters for i18n

2002-04-22 Thread Franosch, Heike
> > > Really stupid question: > > How do you guys enter the special characters in utf-8 files? > I am using the program "recode" on linux if I really need it ;-) Heike - Please check that your question has not already been an

logging of xslt output

2002-04-22 Thread Franosch, Heike
Hi all, is it possible to log the whole xslt output? Thanks, Heike - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[E

RE: Session handling cocoon - servlet - stylesheet solved

2002-04-22 Thread Franosch, Heike
> Thanks for the effort... > 1 question though, did U have to register the servlet in the web.xml. > Id so could U hust show the listing of your web.xml as well.. > > > Regds, > Chiths > -----Original Message- > From: Franosch, Heike [mailto:[EMAIL PROTECTED]]

Session handling cocoon - servlet - stylesheet solved

2002-04-19 Thread Franosch, Heike
Hi all, thanks to Vadim, I got it running. My situation: I already have a servlet that outputs xml data and I want to use cocoon to select dynamically the suitable stylesheet. I have to put the session-id to the output document (inserting through xsl) and handling my session data in my servlet. I

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
Hi Vadim, thank you very much. It works now right the way I want it ;-)) > Assuming that the action "request" returns you {session-id} parameter, > you can write very simple action ("request.getSession(true); return > EMPTY_MAP;") and invoke it here like this: No, it does not return the session

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
> :) > Of course your servlet won't see session of the client, you > invoke this > servlet from the server, not from the browser. > > You must pass jsessionid request parameter manually to this servlet. I > hope you already did this and have jsessionid in the > {requestQuery}. If > not, add it.

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
Hi Vadim, > > sorry to say, but I have still one more problem. I was a bit too > > enthusiastic about seeing the session id on screen. > > I can access it from the stylesheet, > > How do you do this - access the session from the stylesheet (XSL?)? Truthfully, it is just working when I access coc

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
Hi, sorry to say, but I have still one more problem. I was a bit too enthusiastic about seeing the session id on screen. I can access it from the stylesheet, but it does not get through to my servlet. It feels quite like the session is consumed on the way. Can this be possible? Thanks, Heike --

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
Hi Vadim, > What is "your servlet" - how/where it is deployed? What webapp context > used to deploy this servlet? Waeehhh, so that's what it is, I am using the wrong context path. Deploying my servlet to the cocoon/WEB-INF makes it work ;-)) Thank you so much for your patience and knowledge, H

RE: accessing session context from stylesheet

2002-04-18 Thread Franosch, Heike
Hi Vadim, sorry, but I still just don't get it. There is a knot in my head I did some debugging and put some system.outs in the cocoon code. In CocoonServlet in the service method the session is null, so it does not come this far ... I don't understand it. 1) I create my session in the servl

RE: accessing session context from stylesheet

2002-04-17 Thread Franosch, Heike
Hi Vadim, thanks for your answer. I did a lot of more testing trying to figure it out. But, I still just can't get it run. > This is wrong and never will work. You either specify this parameter > when declaring transformer like this: > > > true > > > or here, but only supported syntax is

RE: accessing session context from stylesheet

2002-04-17 Thread Franosch, Heike
Hi all, sorry to repost my question, but I am still wondering should this work? I am creating a session in my servlet and want to access it from my stylesheet. I found this nice tag use-session-info. Does it work the way I am thinking it does or am I totally on the wrong way? The session-availabl

RE: Encoding question

2002-04-17 Thread Franosch, Heike
Hi, thank you all for your help. You have all been right and it works fine now ;-) I am just wondering, is there some more documentation on the sitemap.xmap, when to use what element with what consequences? Thanks, Heike - Plea

Encoding question

2002-04-16 Thread Franosch, Heike
Hi all, is it possible to set the output encoding? I always get a UTF-8, even if I set output encoding to iso-8859-1 in my stylesheet. Can I influence it somehow in the sitemap? Thanks, Heike - Please check that your question h

RE: accessing session context from stylesheet

2002-04-15 Thread Franosch, Heike
On Mon, 15 Apr 2002, Franosch, Heike wrote: > > > But I get no session. What's wrong? > > One more question: If I get this running, do I get the same > session id as > > used from tomcat (this is essential)? > > Which version of Cocoon are you using? Sessio

RE: accessing session context from stylesheet

2002-04-15 Thread Franosch, Heike
Hi, first of all thanks for your answers. > > Quite possibly the wrong way of doing things, but I use an > XSP to grab the > > relevant session details then aggregate them so they are > available to use > > in the stylesheet. > > maybe I try this one. > But when this kind of problem arises, I

accessing session context from stylesheet

2002-04-12 Thread Franosch, Heike
Hi all, I want to insert the session id to my URLs from within the stlyesheet and don't know how to access the context. I have seen a hint about the SessionValidationAction, but I just can't get it run. Has someone a nice tip or maybe some sample code how to achieve this? Thanks, Heike p.s. So