[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: looking for Map like construct to store key/value
http://dev.saxonica.com/blog/mike/2012/01/#000188 Cheers, Dimitre On Wed, Mar 28, 2012 at 7:55 AM, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> 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. B 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 B B B B B B B B B B B B B B mailto:wapiez@xxxxxxxxxxxxxxxx > Mulberry Technologies, Inc. B B B B B B B B http://www.mulberrytech.com > 17 West Jefferson Street B B B B B B B B B B Direct Phone: 301/315-9635 > Suite 207 B B B B B B B B B B B B B B B B B B B B B Phone: 301/315-9631 > Rockville, MD B 20850 B B B B B B B B B B B B B B B B Fax: 301/315-8285 > ---------------------------------------------------------------------- > B Mulberry Technologies: A Consultancy Specializing in SGML and XML > ====================================================================== > -- 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.
|
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
|