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 [EMAIL PROTECTED] www.virbus.de


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to