Hello --
So I have XML documents A and B.
For this purpose, the markup (which is known to be different) is not
relevant; the thing I need to do is prove that all of the text in the
string value of A is present in B in the same order in which it exists
in A. Document B can have additional text and still be correct, so it is
not sufficient to check if string(A) = string(B). (Ideally, B's extra text
can be extracted and then compared against the sources of extra text in the
transformation between A and B so as to confirm that it's at least all
plausible new text.)
I've been poking at this for a while and am getting that "reinventing the
wheel by gnawing on anvils" feeling.
Does a facility to do this exist in BaseX? I've had a look at the
documentation and I observe some mention of diff.xqm but that appears to be
a node-based diff.
thanks!
Graydon