Dynamic XSLT

2 messages Options
Embed this post
Permalink
Chris Buda

Dynamic XSLT

Reply Threaded More More options
Print post
Permalink
is it possible to create an XSLT step where the xslt file name is dynamically assigned based on data passed into the process.  So, if a value gets passed in as a 1 then we use 1.xsl as the transformation file.  If a 2 then use 2.xsl as the transformation file.  I tried setting up an Assign step that includes a XSLT transform and that transform takes a concatenated string as the XSL input but when I deploy the CA it errors out telling me that the Style sheet cannot be compiled.

Kevan Simpson

Re: Dynamic XSLT

Reply Threaded More More options
Print post
Permalink
Hi Chris,

The functionality you describe does not exist.  That said, you could
have either a BPEL process or XSL stylesheet that analyzes the data and
then invokes the appropriate stylesheet.  You may also take a look at
Fuji's IFL, which includes a slew of routing options.

Regards,
Kevan


Chris Buda wrote:

> is it possible to create an XSLT step where the xslt file name is dynamically
> assigned based on data passed into the process.  So, if a value gets passed
> in as a 1 then we use 1.xsl as the transformation file.  If a 2 then use
> 2.xsl as the transformation file.  I tried setting up an Assign step that
> includes a XSLT transform and that transform takes a concatenated string as
> the XSL input but when I deploy the CA it errors out telling me that the
> Style sheet cannot be compiled.
>
>
>  

--
Kevan Simpson
OpenESB Community (http://open-esb.org)
My Blog - http://blogs.sun.com/kevansplace


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]