I have also attached my xsl
I assign the variable on line 269
I modify the variable using saxon:assign on line 280
Currently i am just testing it to get it to work.
I am planning on using in this manner;
I read a line from the imput file, store field5 in a variable and print the line
then i read the second line in the imput file, check to see if field5 is the same as the variable.
If it is the same, I will read line three
If it is different, I will update the variable and print the line
Again, this code is not in the XSL because I am testing to see if I can get saxon:assign to work first