XSLT Selecting last position under segment
my requirement is to consider last GS15 occurrence under HEADER/GS9 by removing other GS15 in it, if GS9 has only one GS15 occurrence or no GS15 then we can copy the GS9 segment as it is.
If there is no GS9 in the input, we need to have rest of the data.
my xslt is working if only one GS9 exist under HEADER. for multiple GS9 segments its giving me sequence error, Please have a look once.
Sorting Issue after multiple same ITEMS
I am facing Issue while sorting 3 different items separately, i tried to explain with example.
Remove duplicate ITEMs under one parent node
i am trying to remove duplicate BXYI/ITEM segments when its having same N11 and AR values under its respective parent node BXYI.
Remove duplicate ITEMs under one parent node
i am trying to remove duplicate BXYI/ITEM segments when its having same N11 and AR values under its respective parent node BXYI.
XSLT: Checking the length and copying the value
I am trying to write an XSLT to check if <identification>
, which has <identificationType>
as Type10 or not, if it exist and <identificationValue>
length is less than or equal to 5 then Identificationvalue we need to replace with <serialShippingContainerCode>
, if identificationType=Type10 not exist then we need to create one with identificationvalue taking from Serialshippingcontainercode.
Issue in Sort only particular segments which is having duplicate values
I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other segments we can keep in the same position which they belongs to, i have tried XSLT but its not giving me the output. please help me here.
Issue in Sort only particular segments which is having duplicate values
I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other segments we can keep in the same position which they belongs to, i have tried XSLT but its not giving me the output. please help me here.
Issue in Sort only particular segments which is having duplicate values
I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other segments we can keep in the same position which they belongs to, i have tried XSLT but its not giving me the output. please help me here.
Issue in Sort only particular segments which is having duplicate values
I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other segments we can keep in the same position which they belongs to, i have tried XSLT but its not giving me the output. please help me here.
Issue in Sort only particular segments which is having duplicate values
I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other segments we can keep in the same position which they belongs to, i have tried XSLT but its not giving me the output. please help me here.