setting status codes in serializer

View: New views
2 Messages — Rating Filter:   Alert me  

setting status codes in serializer

by franco pace :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
If I wish to set the status code of a serializer to some value set in  
a variable/parameter such as:

<map:serialize type="xml" status-code="{statuscode}" />

How do I set the variable parameter(statuscode)  in a previous  
transformation (xslt)

Thanks,
Franco


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


Re: setting status codes in serializer

by Jeroen Reijn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Franco,

as far as I know that's not possible to do from the transformation
stage. What is it that you're trying to achieve?

Regards,

Jeroen

Franco Pace wrote:

> Hi,
> If I wish to set the status code of a serializer to some value set in a
> variable/parameter such as:
>
> <map:serialize type="xml" status-code="{statuscode}" />
>
> How do I set the variable parameter(statuscode)  in a previous
> transformation (xslt)
>
> Thanks,
> Franco
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

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