xsl-list
[Top] [All Lists]

Re: [xsl] is there a way to hash an element?

2016-06-10 16:45:51
On Fri, Jun 10, 2016 at 02:27:30PM -0000, Dimitre Novatchev 
dnovatchev(_at_)gmail(_dot_)com scripsit:
I would also try to use the standard XPath 2.0 function:

    deep-equal()

Yes, it doesn't generate an id for identifying a sub-tree, but still
can be used for establishing classes of equivalence.

Just a quick thought.

Hi Dimitre --

deep-equal() works beautifully as a test but it doesn't provide a
grouping mechanism.  Going through n thousand structures pairwise just
can't be optimal.

-- Graydon, who wrote the initial very small test case using
deep-equal()
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>