Skip to Content
avatar image
Former Member

Import Parameter for XSLT

Hi all,

I am working on PI 7.1 interface in which I want to pass a string parameter to the XSLT mapping from the parent operation mapping. I have defined it as a simple type/string/Import parameter in operation nmapping and also done its binding with the XSLT parameter. Then I have used this parameter in XSLT as -

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="sender"/>
.....
.....
<senderId>
<xsl:value-of select="$sender"/>
</senderId>
.....

However, when I test the operation mapping by specifying this sender parameter, the target field 'senderId' comes out as blank and no error is thrown. Not sure if I am missing anythig. Does anyone know what could be causing this ?

Regards,
-Shankar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer