Relative Content

Tag Archive for sqloraclexslt-1.0jdeveloper

Store Distinct String Values in a Variable in XSLT 1.0 and Use the Assigned Variable for Choose Statement

I’m mapping Oracle table output to an EDI file using Transformation XSLT 1.0.
I would like to get values from multiple lines but store them in a variable so I can use distinct values and show only the unique ones, then use it for the Choose statement. I’m having trouble with the variable for-each condition as it only outputs the first occurence or the line1 in the variable value output. I’ve given the desired output of the variable, if possible. If you guys have a better solution, that would be greatly appreciated.