Transform XML with an XSL style sheet

The user-defined function, XSLTRANSFORM, provides support for transforming an XML document with XSL Transformation processing.

The Java™ user-defined function, SYSFUN.XSLTRANSFORM, transforms well-formed XML documents that are stored in Db2 using the XL TXE-J processor in the IBM® SDK for z/OS®. Input parameters are as follows:

  1. An expression that returns a single-rooted, well-formed XML document.
  2. An XSL style sheet that conforms to the W3C XSLT Version 1.0 Recommendation.
  3. An expression that returns an XML document that contains parameter values to the XSL style sheet.

The output of the user-defined function is a CLOB.