[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE : RE : RE: Concatenating multiple variables in a XPath statement
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 22 Jun 2006 12:43:22 +0200 (CEST)
Florent Georges wrote:

>     <xsl:variable name="var1" select="..." as="element()*"/>
>     <xsl:for-each select="...">
>       <xsl:variable name="var2" select="..." as="xs:string"/>
>       <xsl:sequence select="var1[local-name() eq var2]"/>
>     </xsl:for-each>

  Oops, typo (variable references weren't variable references):

    <xsl:variable name="var1" select="..." as="element()*"/>
    <xsl:for-each select="...">
      <xsl:variable name="var2" select="..." as="xs:string"/>
      <xsl:sequence select="$var1[local-name() eq $var2]"/>
    </xsl:for-each>

  Regards,

--drkm




























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member