Hi
A few months ago, I posted in a response a mapping
construct like this:
<xsl:variable name="map" as="element()+">
<elem key="k1" val="v1"/>
<elem key="k2" val="v2"/>
</xsl:variable>
<xsl:sequence select="$map[(_at_)key eq $searched]/@val"/>
Michael, in a response to that, showed an
all-in-one-XPath-'for'-expression to do that, without
defining a variable. But I'm not able to find it in the
archive.
Does someone remember it?
Regards,
--drkm
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
--~------------------------------------------------------------------
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>
--~--