Click here to Skip to main content
15,881,033 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have
Message1 of Scheema1(repeating records)
HeaderMessage of Scheema2
detailmessage of scheema3

My incoming message is Message1
1)After receving the mesage1 i asssaigned detail record xpath to some variable Details Counting
2) im constructing Headermessage.
headermessge=xpath(message1,"Xpath")
3)then i tookloop shape inside that im constructing detailmessage.
detailmessge=xpath(message1,"Xpath")
and incrementing the loop
Now i want to read the value of a particular field 'X'which is of decimal type
if it is null or "" i have to default its value to 0.

Can any one help me?

Regards

Raj
Posted

1 solution

You can assign any value from your message to a variable, given you have the Xpath for that specific field. Check here[^] for more details on how to do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900