on 04-27-2007 5:13 PM
hi @ ,
Is it possible thru UDF to perform mapping with a target node but simulatneoulsu access any other node of the target message like I will use the mapping like this
A --UDF --B but in UDF refer to any other target field of the target message say C,if yes then please help with the links or code
Regards
If B and C are used in the target side(multimapping),You can access any field in that mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
As Maheshwari said,you cant access target node or element inside UDF code.
just i want to access onething why do you want to access target element from UDF? whats your exact requirement?
Chees,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi priya,
yes..even though C is in targate structure u cant refer it in UDF....how ur UDF will know ur target structure....its simple java code.
try doing that... u will get error.
Thanks,
Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maheshwari,
Even i also have that doubt but i guess XPATH can be used .I haven't worked on it so not sure abt hence posted the query .
Is there any other way to do this?
Can u use the Node in UDF to perform chk on the complete elements present and then populate the target field?
Regards
Message was edited by:
Priya
Hi priya,
No... u cant refer to C if ur input to UDF is A.
Thanks,
Maheshwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.