cancel
Showing results for 
Search instead for 
Did you mean: 

Content Objects or XPATH in Header mapping..!! How to provide??

Former Member
0 Kudos

hi all

How to pass the Party name by based on the content of the message in the header mapping.

points will be awarded for suitable answers immediately......

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Before template tag, you define:

<xsl:param name="SenderParty" />

Inside template, you can use the it like:

$SenderParty

e.g.

<xsl:value-of select="$SenderParty" />

It will get runtime constant value of SenderParty.

Liang

Edited by: Liang Ji on Apr 3, 2008 4:50 PM

Former Member
0 Kudos
Former Member
0 Kudos

Try this.

String constant;

java.util.Map map;

map = container.getTransformationParameters();

constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);

return constant;