jeux gratuits
New Member
I have a case as follows. I am working on merging 2 xml files. I compare a particular type of node in both files and check if their some particular attribute is same. If that attrib is same, I merge that node and if it does not, I copy the node of file one. Please see the logic below\[code\]for-each(file1/nodes) boolean variable var set to false for-each (file2/nodes) when(some_condition) var = true /for-each if(var = false) do-something/for-each\[/code\]My problem is that I am unable to set and retain this variable. As I am very new to xslt, I would need help to accomplish this using xslt.