Subject:If Else Condition along with Loop Author:Hari Krishna Date:05 Dec 2007 12:56 PM
Any Help is much appreciated.
E1EDL37 contains one of the field value as RFID_PALLET and RFID_CASE
When Pallet comes, i need to find the relative cases and write below to the pallet. This is working fine with the below logic. Case variable will contains those RFID_CASE numbers and search and write them below the pallet. If i have any number of pallets and correspondent cases, it is taking care of.
But when it comes to only cases with out Pallet's, i am trying to implement the code here and having some troubles. I am new to XSLT, so any logical and syntax is much appreciated
What i am trying to here is
First Loop the E1EDl37 and see if there is any RFID_PALL exists, if yes set the variable value to YES. So that when i use xsl:when i should check for YES other wise write all the cases
I am having some syntax errors and i am not sure if the logic works fine. So can any of GURU can help me. I really appreciate any input here
Subject:If Else Condition along with Loop Author:(Deleted User) Date:06 Dec 2007 09:24 AM
Hi,
XSLT is not a procedural language, so declaring a variable in this way will not work; you should just use a <xsl:when test="count(E1EDL37[VHILM='RFID_PALL']) > 0"> condition.