cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT "" concatination

Former Member
0 Kudos

Hi,

I have to add "" for each field if my source is abc in my target it must be displayed as "abc"

Is there any function for this .

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Srinivas,

Try like this <xsl:value-of select="concat('&quot;', @Description, '&quot;')" />

i hope u will get output as u need.

Thanks

Pullarao

justin_santhanam
Active Contributor
0 Kudos

Srinivas,

Is it graphical mapping or XSLT mapping. If its graphical mapping follow the below step.

i) Use Concat function (Parameter 1 -Constant["], Parameter 2 - Input]

ii) Use Concat function(Parameter 1 - O/P of 1 concat funtion, Parameter 2- Constant["])

iii) Map finally to target.

I think its clear, if not reply back.

Best Regards,

raj.

prateek
Active Contributor
0 Kudos

No direct function available.

But u can concal this using concat function.

OR

U may write a UDF and add the "" at the end and beginning using simple string concat. (UDF only in message mapping)

Regards,

Prateek

Former Member
0 Kudos

HI,

By default XSLT does not provide a function for this, but will have to write a template in your XSL, and pass this input string to it and then concatenate whatever you want to see in the output.

Regards,

Samson Rodrigues.