Extending built-in transformation functions

You can use custom XPath expressions and XSLT templates to extend built-in transformation functions.

The following instructions apply to the Resource perspective, but they will also work in many other perspectives.

To extend a built-in transformation function for a mapping, follow these steps:

  1. Open your map file in the XML mapping editor.
  2. Select the mapping connection you want to extend. Right-click the transform type box between the nodes, and select Custom.
  3. Right-click Custom, and select Show in Properties.
  4. In the Properties view, select the type of custom extension.
    • XSLT template. XSLT is a language for transforming the structure of XML documents. It is designed for use as part of Extensible Stylesheet Language (XSL). On the XSLT page, you can browse for an XSL file and select an XSLT template.
    • XPath expression. XPath is a subset of XSLT. On the XPath expressions page, you can enter an XPath expression.
Related concepts
XML mapping editor

Feedback