Skip to Content

How to create XSLT Mapping in SAP PI / PO

This blog will complement other blogs on ‘XSLT Mapping’ in SCN.

Direct link: How to create XSLT Mapping in SAP PI / PO – YouTube

     I recommend, practicing how to use XSL elements like xsl:template, xsl:if, xsl:choose, xsl:for-each, xsl:output, xsl:sort and xsl:namespace-alias in SAP NWDS or Eclipse or NetBeans. Please search internet for more examples.

Sample XSLT used in the video.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
  <xsl:output encoding="cp1252" />
  <xsl:template match="/">
  <xsl:copy-of select="." />

Sample XML used in the video.

<?xml version="1.0" encoding="utf-8"?>
            <Name>AAA € </Name>

Helpful Links: –

XML Path Language (XPath)

XSL Transformations (XSLT)

XSLT Mapping – SAP Library

Parameterized XSLT Mappings – SAP Library

Using the Lookup API in an XSLT Program – SAP Library

How to.. Import and use XSLT 2.0 mappings in SAP PI/PO

XSLT Mapping in Exchange Infrastructure (download the mwv file).

You must be Logged on to comment or reply to a post.