[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

Subject: RE: looking for Map like construct to store key/value pairs in variable
From: Robby Pelssers <Robby.Pelssers@xxxxxxx>
Date: Wed, 28 Mar 2012 13:50:21 +0200
RE:  looking for Map like construct to store key/value
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.

Robby

-----Original Message-----
From: Wolfgang Laun [mailto:wolfgang.laun@xxxxxxxxx]
Sent: Wednesday, March 28, 2012 1:31 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  looking for Map like construct to store key/value pairs in
variable

This is usually done using the key() function. Here's the XSLT
tutorial: http://www.w3schools.com/xsl/func_key.asp

More examples can be found in the archives of this list.

-W



On 28/03/2012, Robby Pelssers <Robby.Pelssers@xxxxxxx> wrote:
> Hi all,
>
> Just wondering if XSLT / Xpath supports a Map like structure  like Java's
> HashMap and if so can someone provide a small sample of usage?
>
> Robby

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.