concatenation of two strings in XML
samaiaiJun 10 2011 — edited Jun 14 2011Hi ,
I have requirement like submitting a web request by building a XML data.
The xml contains set of params and values.
say
<test>
<request>
<param name="name1" value="value1">
<param name="name2" value="value2">
<param name="name3" value="value3">
</request>
</test>
I need to build certain values for few parameters by concatenation of two strings out of which one could be value retrieved from db and the other could be constant string.
say
<param name="username" value="5001U#Andree">
the value 5001 is dynamic so, say i got the this value and have it in some variable 'var'. How can i now concatenate this with the "U#Andree" string.
This has to be built in XML web request data document only.
Please help me out.
Thanks in advance
sam
Edited by: 865033 on Jun 10, 2011 1:46 PM