[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Associative Arrays and XSLT ?
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
|
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
|