January 10, 2010 at 11:25 am
Guys,
Please help me for this scenario. I should agree that I am just an beginer in the XML part...
My question is, How should we specify a parameter of the node dynamically.. Say for eg....
While (@iCurrRow <= iTotRow)
Begin
.
.
SET @MultiMessage.modify('insert (attribute MsgAddress{sql:variable("@mto")})
into(/Event/Notifications/Message/Msg)[1]')
End
Once I have added the value of @mto in a new NODE-MsgAddress in msg[1], in the next loop I need this to be done in msg[2].
But how do we specify the parameter for Msg node here...
Please any information regarding would be very much appreciatable.. Thanks
January 12, 2010 at 11:01 am
I got to know there is no such option to get the data in MODIFY(). SO I did that with some other method.. Thanks 4 everyone
January 12, 2010 at 11:59 am
sanjai.nbs 57867 (1/12/2010)
I got to know there is no such option to get the data in MODIFY(). SO I did that with some other method.. Thanks 4 everyone
Excellent you found a solution. Would you mind sharing a more detailed explanation of "some other method"? It could help somebody else facing the same issue.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply