[xsl] RE : [xsl] RE : RE: [xsl] Concatenating multiple variables in a XPath statement

Subject: [xsl] RE : [xsl] RE : RE: [xsl] 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