cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Redirect extension in SAP PI

Former Member
0 Kudos

Hi,

We are trying to use XSLT redirect function PI 7.11 mapping. I can't find the actual class path name for Redirect class XSLT processor used in PI which I believe is XALAN.

The XSLT syntax i am trying is:

?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:redirect="com.sun.org.apache.xalan.xslt.extensions.Redirect"

extension-element-prefixes="redirect">

<redirect:write>

<redirect:write>

When I test this mapping I am getting following error message.

javax.xml.transform.TransformerException: Unrecognized XSLTC extension 'com.sun.org.apache.xalan.xslt.extensions.Redirect:write' at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.postErrorToListener(TransformerImpl.java:717) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:669)

I just need to know the correct class path name in xmlns:redirect attribute.

Can anyone please let me know location of Java docs for com.sun.org.apache.xalan package?

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

We are trying to use XSLT redirect function PI 7.11 mapping. I can't find the actual class path name for Redirect class XSLT processor used in PI which I believe is XALAN.

This is not possible and does not make any sense at all. You cannot redirect the output inside a PI mapping.