Passing parameters to ora:processXSLT

When processing XML with XSLT you can easily pass values handled as global parameters to an XSLT script. The BPEL XPath extension function processXSLT offers the same kind of functionality, even though this is not obvious at first glance.

The BPEL Process Manager Developer’s Guide describes processXSLT as “a function that returns the result of an XSLT transformation” and defines the signature as

ora:processXSLT(template,input,properties?)

where template is the name of the XSLT file, input referes to the XML strcuture on which the transformation is run and properties are “The properties as defined in the bpel.xml file”.

That’s an information , isn’t it? I’m sure you’ve immediately understood what to do. Well, I was puzzled.

Read the rest of this entry »

Advertisements
Posted in BPEL, SOA. 3 Comments »