Tuesday, August 30, 2016

Logical (and , or) Parameters in XMLP Reports

Note : Use lowercase or , and only
<?if:ORDER_NUMBER='146842' or ORDER_NUMBER='146825'?>NOTWORKING<?attribute@incontext:color;'blue'?><?end if?>

<?xdofx:if ORDER_NUMBER = 146842 then 'WORKING'
else
if ORDER_NUMBER = 146825 then 'WORKING'
else
'NOT WORKING'
end if?>

<xsl:choose>
<xsl:when "ORDER_NUMBER='146842'"><?call:TEMPLATE1?> <?end call?></xsl:when>
<xsl:when "ORDER_NUMBER='146825'"><?call:TEMPLATE2?> <?end call?></xsl:when>
<xsl:otherwise><?call:TEMPLATE3?> <?end call?></xsl:otherwise>

<?choose:?>
<?when: ORDER_NUMBER1 ='146842'?>'WORKING'<?end when?>
<?when: ORDER_NUMBER1 ='146825'?>'WORKING'<?end when?>
<?otherwise?>'NOT WORKING'<?attribute@incontext:color;'blue'?><?end otherwise?>
<?end choose?>


No comments:

Post a Comment

Best Blogger TipsGet Flower Effect