Found.
I misunderstood the "as" attribute :
 - "xml" : result wrapped in a <xsp-request:attribute> element
 - "string" : only the value...

--
Olivier


----- Original Message ----- 
From: "Olivier Billard" <[EMAIL PROTECTED]>
To: "Cocoon Users" <[EMAIL PROTECTED]>
Sent: Monday, June 02, 2003 10:53 AM
Subject: <xsp-request:get-parameter>


> Hi all !
>
> I have a little problem with the xsp-request taglib : I inserted
>     <xsp-request:get-parameter name="title" default="" as="xml"/>
> to have the text of the "title" request parameter, but the generator
writes
>     <xsp-request:parameter
> xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> name="title">toto</xsp-request:parameter>
> in the output... instead of the needed "toto" only.
>
> Is it a normal way of working ? Is an additional transformer needed ?
>
> Thanks in advance !
>
> --
> Olivier
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to