cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Value Mapping

Former Member
0 Kudos

Hello Experts,

I have a XSLT senario where XSL map is calling a xml file for value look ups. Can someody help me implement the senarion in PI?

- Rajan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

check this realted discussion:

MichalKrawczyk
Active Contributor
0 Kudos

hi,

within XSLT you can use java extensions (java code)

so you can put the code to check the file in such an extension

Regards,

Michal Krawczyk

Former Member
0 Kudos

Thanks fo ryour reply Mike,

I have an existing xslt map with the following structure -

-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://interlog.dupont.com/transoval/xmlschema">

<xsl:import href="../Common/ErrorHandling.xsl"/>

<xsl:import href="DPC_ZSHPMNT5_46C_to_ShipmentRequest20_ReceiverLookup.xsl"/>

<!-- bizrules file -->

<xsl:param name="bizrules" select="document('DPC_ZSHPMNT5_bizrule_code_list.xml')/Bizrules"/>

<!-- Error Handling parameters -->

Here thsi "bizrules" parameter is actually lokking in to the 'DPC_ZSHPMNT5_bizrule_code_list.xml' file for the values to map.

Can I leverage this XSLT map in the PI or do I need to write a new map with the java extentions you are specifying here?