xsl-list
[Top] [All Lists]

Associative Arrays and XSLT ?

2005-03-17 09:09:35
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

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>