[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Tree Comparing Algorithm
Am 04.02.2020 um 01:49 schrieb Michael Kay mike@xxxxxxxxxxxx:
I haven't studied it in close detail, but I strongly suspect that the initial processing of the input files is streamed, but at some stage in the processing pipeline everything ends up in memory.
mf:compare((saxon:stream(doc('file1.xml')/*), saxon:stream(doc('file2.xml')/*)))
$pair[1]!node-name(), $pair[2]!node-name() is rejected by the streamability analysis with XTSE3430: Function mf:compare is not streamable. There is more than one consuming operand: So that's why experimented with the array or also with a map/tuple of the two streamed nodes from different documents, with the sequence of two nodes I don't manage to compare them without breaking the streamability rules of not allowing more than one consuming operand.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|