cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fleischer Roman <roman.fleisc...@siemens.com>
Subject RE: new request namespace?
Date Tue, 23 Sep 2003 14:03:56 GMT
Hi Joerg thanks for your answer, but it still does not work.
I defined the namespaces
xmlns:request="http://apache.org/cocoon/request/2.0" and
xmlns:h="http://apache.org/cocoon/request/2.0 to my stylesheet.

But how can I get the value of the target attribute? With cocoon 2.1M1
"request:request/@target" works well - with cocoon 2.1 not. Why was the
prefix added to the request generator? 
How has the namespaces to be changed to let my stylesheets work as they
worked before?

Thanks,

Roman

-----Original Message-----
From: Joerg Heinicke [mailto:jheinicke@virbus.de]
Sent: Montag, 22. September 2003 20:23
To: users@cocoon.apache.org
Subject: Re: new request namespace?


Hello Roman,

the namespace uri has changed from 
http://xml.apache.org/cocoon/requestgenerator/2.0 to 
http://apache.org/cocoon/request/2.0 because of the move of Cocoon to an 
Apache top project. The namespace prefix has no influence on the orking 
of the stylesheet, you only must bind your request namespace prefix to 
the changed namespace uri and the stylesheet should work like before.

Joerg

Fleischer Roman wrote:

> Hello,
> 
> with cocoon 2.1M1 i used the entry "request:request/@target" to check the
> location in my xsl. With the new namespace in cocoon 2.1 i get no result.
>  
> When calling the request generator i got in c2.1M1 this result:
> <request xmlns="http://xml.apache.org/cocoon/requestgenerator/2.0"
> target="/cocoon/OCIpreload" source=""> 
> <requestHeaders> 
> <header name="Accept">image/gif, image...
> 
> 
> With the new version of cocoon2.1 i get this result:
> <h:request xmlns:h="http://apache.org/cocoon/request/2.0"
> target="/cocoon/OCIpreload" source="">
> <h:requestHeaders>
>   <h:header name="Accept">image/gif, image...
> 
> ??? what is the meaning of the h-namespace. How can i access the request
> params with the new version?
> Can anybody help??
> 
> Thanks,


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message