[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Associative Arrays and XSLT ?

Subject: Associative Arrays and XSLT ?
From: Stef <stef@xxxxxxxxx>
Date: Thu, 17 Mar 2005 11:09:35 -0500
xsl arrays
Hello everyone,
	Sorry for the (stupid ?) question, however, is
there any provision for associative arrays in XSLT ?

	I have a few entities whose name I need to map
into column names for DB insertion. so, I was hoping
there was a quick/easy way to do something like;

	my %h={"name1"=>"MyName", "int4"=>"finalInteger}

	That way, I can then do a lookup by doing;

	<xsl:value-of select="$h{name()}">

	I realise that I will have to utilize xslt's
functions more than likely, however, I am wondering if
any has example hash functions already lingering around
their computer.

	Crazy/Stupid/Moronic question, i know :)
	Thanks
	Stef

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.