http://dev.saxonica.com/blog/mike/2012/01/#000188
Cheers,
Dimitre
On Wed, Mar 28, 2012 at 7:55 AM, Wendell Piez
<wapiez(_at_)mulberrytech(_dot_)com> wrote:
Dear Robby,
I imagine they will tell you the normal way to do this is to acquire or
construct a (temporary) tree, and then query that.
It's much more powerful than a hashmap because it can be arbitrarily
complex.
Whether it performs as well in XQuery, where xsl:key is not available to
indicate that an index is called for, will be an interesting question.
(But not on topic for this list. Unless it's threaded as a comparison
between the sisters.) In theory I suppose it should, inasmuch as this
sort of thing is what XQuery is for, but there are likely to be devils
in the details.
I have heard rumors of a hash-like data structure for 3.0.
Cheers,
Wendell
On 3/28/2012 7:50 AM, Robby Pelssers wrote:
Hi Wolfgang,
Actually I shouldn't have posted the question on this list. I know
about the xsl:key instruction but was hoping for a xpath / xquery
solution where I can store the key/value pairs in a dictionary
variable ;-)
Will post my question to the Xquery list instead.
--
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--