Thursday, 13 March 2014

Creating XML Node Sets From A Delimited String In BPEL Using Transformation

There are several ways in which we can create a custom xml node set for delimitedString value.
Among them one of the way is through XSLT.

Consider we have our xsd structure as :-



  • Bring a Transform activity with source and target variable as input varaible.
  • Now open the .xsl file and create a custom template for splitting the delimited string into custom xml nodes.
  • Now call your custom template while assigning the values to the variable.
For Example:-



Below are the screenshots of both input and and the resultant transformed output.




Also check: Remove Duplicate Nodes with XSLT
                   Creating xml node set from delimited string using Assign activity


Let us know your valuable feedback.

Happy Coding .... :)

1 comment:

  1. Works like a charm! I was almost giving up! One suggestion for a next post like this: Please include the code so we can copy it

    ReplyDelete