cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: new request namespace?
Date Wed, 24 Sep 2003 13:24:46 GMT
Fleischer Roman wrote:
> Hello Joerg,
> 
> it is right - your stylesheet works well.
> I forgot to mention, that i have another root element "object". 
> My generated xml looks like:
> <object xmlns:cinclude="http://apache.org/cocoon/include/1.0"
> xmlns:session="http://apache.org/cocoon/session/1.0"
> xmlns:request="http://apache.org/cocoon/request/2.0">
> <h:request xmlns:h="http://apache.org/cocoon/request/2.0"
> target="/cocoon/OCIpreload" source="">
> <h:requestHeaders>
> <h:header name="Accept">image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
> */*</h:header> 
> <h:header name="Accept-Language">de</h:header> 
> .....
> 
> in the cocoon version 2.1M1 i can call the target by 
> <xsl:variable name"location" select="object/request:request/@target"/>. The
> value of the variable location is "cocoon/OCIpreload"
> In this Version (cocoon2.1) this variable is empty.

Where do you have this variable? In a template (matching on which node?) or 
as a global one? Does //request:request/@target work?

Joerg

> Thanks for your help,
> 
> ROMAN

-- 
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


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


Mime
View raw message