on 04-03-2008 10:03 AM
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......
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this.
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);
return constant;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.