You
can use custom XPath expressions and XSLT templates to extend built-in
transformation
functions.
Before you begin
About this task
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, complete the following steps:
Procedure
Open your map file in the XML mapping editor.
Select the mapping connection you want to extend.
Right-click the
transform type box between the nodes, and select Custom.
Right-click Custom, and select Show
in Properties.
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.