Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

xslt mapping - xsl if ?

HI,

can you explain me "how to use the xsl if function" ?

My source is an ORDRSP Idoc and i want to use the following.

IF E1EDP20 is existing then ....

and

IF E1EDP20/WMENG = 0 then ...

anyway... is there an option to test the xslt mapping with XML spy or another tool ?

any ideas ?

Former Member
Former Member replied

Hi Gordon

<xsl:if test="string-length(//E1EDP20)!=0 and //E1EDP20/WMENG=0"><then>show</then></xsl:if>

Open XML at Spy and choose Assign XSL from menu. Press F10 for execute.

Regards,

Udo

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question