cancel
Showing results for 
Search instead for 
Did you mean: 

XML Formatting after XSLT Mapping is incorrect in SAP CPI

0 Kudos

xslt-formatting-output.txtHi,

I am transforming the data from SAP Successfactors through XSLT Mapping in below format.Some records are like strings and do not have any tags to it.Please find the file attached XSLT Formatting output.

Kindly advice how to correct in SAP CPI

MortenWittrock
Active Contributor

Hi Shruthi

Two things. 1) As Sriprasad points out, this is very hard t debug without the input XML and the stylesheet. The transformation's output is of very little use here, unfortunately. 2) Please also follow up on your other open question about XSLT conditions, which I answered.

Regards,

Morten

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Shruthi!

Did you try to use apply-templates with select condition?

Like:

<xsl:apply templates select="/Node/Node"/>

Regards, Evgeniy.

Answers (3)

Answers (3)

0 Kudos

It worked.Thanks for everyone for the support.

Muniyappan
Active Contributor
0 Kudos
Sriprasadsbhat
Active Contributor
0 Kudos

Hello Shruthi,

Its very difficult to predict whats causing the issue by looking at output file.Could you please provide Input XML ( you can mask customer related data ) , XSLT and expected output.

Regards,

Sriprasad Shivaram Bhat

0 Kudos

Hi Sriprasad,

Please find input file attached.

And XSLT Mapping performed.

The ouput should be in a xml format.But few records in the middle are displayed without any tags between the xml records as below.

Finance

Finance

Senior test

AU

Test

55555

AU

S

test

test

223

m@b.com

B

10000000

NO_MANAGER

1123

XSLT Code is also attached.Please advice.