cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT mapping with java - dyanmic config

former_member183906
Active Contributor
0 Kudos

Hi I am using XSLT Mapping + Java mapping for dynamic config.

In SAP PI 7.3 single stack.

The XSLT program mentioned here is giving below error in XSLT Map Test Tool :

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm

Error:

When I am testing it also it fails with could not compile stylesheet.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I think you might have some namespace prefix issue. Please check this thread

Example:

 

<xsl:stylesheet version="2.0" xmlns:javamap="java:java.util.Map" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

https://scn.sap.com/thread/3156004

former_member183906
Active Contributor
0 Kudos

Hi

Thanks.

The XSLT program mentioned here is giving below error in XSLT Map Test Tool :

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm

Yeah,It may me XML namespace issue. But, do not know how to resolve it.

Any idea ?

The thread mentions using own java program with XSLT.

sugata_bagchi2
Active Contributor
0 Kudos

Hi,

Try to use SAP XML Toolkit option in operation mapping.

http://help.sap.com/saphelp_nw04/helpdata/en/36/ef353e39011a38e10000000a114084/content.htm

Thanks

Sugata B Majumder

former_member183906
Active Contributor
0 Kudos

In PI 7.3, SAP XML toolkit option is there,but as per SAP help its not applicable for SAP PI 7.3

Although i tried it,it doesn't work.

Former Member
0 Kudos

Hi,

I tried SAP XML toolkit option and it worked for me.

Regards,

Beena

Former Member
0 Kudos

Hi,

Check this link:

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4b/f40f2cc0c33de4e10000000a42189e/content.htm

Try the code as per the link, it works without xml toolkit option.

Answers (0)