Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

concatenation of two strings in XML

samaiaiJun 10 2011 — edited Jun 14 2011
Hi ,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2011
Added on Jun 10 2011
2 comments
2,328 views