XSL: Intersecting two sorted blocks

nxz

New Member
I have an XML file with the following structure:\[code\]<block1> <node> <name>A<name/> <node/> <node> <name>B<name/> <node/> ...</block1><block2> <node> <name>B<name/> <node/> <node> <name>D<name/> <node/> ...</block2>\[/code\]The entrees of each block are sorted based on the name.I want to create a table that will hold all of the names that belong in block1 and block2.How can I do this efficiently (using the fact that the nodes are sorted)?
 
Back
Top