Recursion in XSLT

Recursion is something you will quite often encounter when working in the field of integration and working heavily with XML. There are different ways to handle recursion but a simple way is to use templates. Lets get a simple XML as seen below: <?xml version="1.0" encoding="UTF-8"?> <organization> <employees> <employee> <title>CEO</title> <firstname>Larry</firstname> <lastname>Paine</lastname> <employees> <employee> <title>Senior Vice President Sales</title> <firstname>John</firstname> <lastname>Thorp</lastname> <employees> <employee> <title>Sales Director</title> <firstname>Jeffrey</firstname> <lastname>Kindle</lastname> </employee> </employees> </employee> <employee> Continue ReadingRecursion in XSLT

Creating a custom XPath function for the XSLT mapper in the SOA Suite

Sometimes the default XSLT-mapper in the SOA Suite just is not enough. You want a little bit more or you want something that is re-usable for other components. The answer lies in writing your own XPath function. The first thing we need is to create a jar file which contains our functionality. Say we want a function which creates a displayname based on a few parameters. We will use Maven Continue ReadingCreating a custom XPath function for the XSLT mapper in the SOA Suite