cancel
Showing results for 
Search instead for 
Did you mean: 

XLST mapping - issues with my xsl file?!

former_member233999
Participant
0 Kudos

cxlst-mappingmapping.txtIm giving xlst mapping a go and although ive found the following blogs useful, it wasn't working fully so I then followed the sap blog:

http://www.riyaz.net/sap/beginners-guide-to-xslt-mapping-in-sap-pi/769/

https://wiki.scn.sap.com/wiki/display/XI/XSLT+Mapping+Steps

I've created my mapping.xsl file (attached) but when importing, either as compressed zip file or xsl file I get the following error:

Check result for External Definition: mapping | http://domain.com/test/XLST_mapping_test

Document check found errors:

Cause: Loaded document contains incorrect WSDL definition

Tag stylesheet is not permitted as a root element. definitions is expected.

XSL attached.

Accepted Solutions (1)

Accepted Solutions (1)

vadimklimov
Active Contributor

Hi George,

XSL transformations shall be imported into ESR not in External Definition object, but in Imported Archive object. Place the XSL file containing the transformation, into ZIP file, and import the generated ZIP file into the created Imported Archive in ESR.

Regards,

Vadim

Answers (1)

Answers (1)

former_member233999
Participant
0 Kudos

Hi

Yes I later found this out using the below guide:

http://www.riyaz.net/sap/beginners-guide-to-xslt-mapping-in-sap-pi/769/


thanks