Skip to Content
-1

XSLT Transformation Error in Loop

Dec 20, 2017 at 04:52 PM

67

avatar image
Former Member

I am trying to do a XSLT Transformation and introduced a node as below for a nested table:

SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S33 { color: #009300; }

<tt:cond>
<VENDOR>
<tt:loop ref=".REQUEST.BANNERAUTH.PIR_DEFAULTS.VENDOR">
<ZACW_LIFNR>
<tt:cond>
<LIFNR tt:value-ref="LIFNR"/>
</tt:cond>
</ZACW_LIFNR>
</tt:loop>
</VENDOR>
</tt:cond>

There is no syntax error on this but on processing it shows the below error:

System expected the end of the element 'VENDOR ' REQUEST(1)BANNERAUTH(21)ZACW_BANNER_AUTH_S(1)PIR_D

Please suggest on how to get rid of error.

10 |10000 characters needed characters left characters exceeded

It's not XSLT, it's a Simple Transformation - two different languages (and the name of transaction XSLT_TOOL is misleading, use transaction STRANS instead)

0
Former Member
Sandra Rossi

Hi Sandra,

Thank you for the response. Yes you are right its misleadingbecause of the transaction code name. however I was looking for a way to get rid of the XML processing error. Could you please suggest on what changes do i need to make in the simple transformation for the nested table.

0

Please show the XML around REQUEST(1)BANNERAUTH(21)ZACW_BANNER_AUTH_S(1)PIR_D

0
Former Member
-<PIR_DEFAULTS>
-<ZACW_PIR_DEFAULT_S>
<IS_MCKESSON/>
<MCKESSON_VENDOR/>
<DSD_VENDOR>
<LIFNR>0001028130</LIFNR>
<LIFNR>0001028152</LIFNR>
</DSD_VENDOR>

0
Where is <ZACW_LIFNR> ?
1
* Please Login or Register to Answer, Follow or Comment.

0 Answers