cancel
Showing results for 
Search instead for 
Did you mean: 

Preserving spaces in XSLT Mapping

Former Member
0 Kudos

Hi ,

My source structure has a field

<field1> aaaa1234</field1>

whens this field is transformed by using a XSLT mapping the output is as follows

<field1>aaaa1234</field1>

This output is visible in the interface mapping itself.

The leading spaces are truncated. Can any one suggest me on how to preserve leading spaces during XSLT mapping?

Thanks

VasS

Accepted Solutions (0)

Answers (3)

Answers (3)

udo_martens
Active Contributor
0 Kudos

Hi Vasagam,

you can use xsl:preserve-space with the attribute elements as child of stylesheet.

Regards,

Udo

MichalKrawczyk
Active Contributor
0 Kudos

hi,

check if you don't have indent="no"

if so it may delete the whitespaces

Regards,

michal

former_member187339
Active Contributor
0 Kudos