[xsl] XPath string map

Subject: [xsl] XPath string map
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Fri, 7 Apr 2006 20:02:30 +0200 (CEST)
  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[@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 : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com

Current Thread