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

Subject: RE: variables
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 28 Feb 2006 21:11:57 +0100 (CET)
Bokluci wrote:

> Is it possible to make this two lines into one. (somehow to match
> @label
> against current node @uri without creating new variable
> $current_section)

> <xsl:variable name="current_section"><xsl:value-of
> select="@uri"/></xsl:variable>

> <xsl:for-each
>select="document($menue_doc)//*[@label=$current_section]/descendant::section
> ">

    <xsl:for-each
        select="document($menue_doc)//*[@label=current()/@uri]
                  // section">

  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
  • variables
    • Bokluci - 28 Feb 2006 18:32:09 -0000
      • Florent Georges - 28 Feb 2006 20:12:12 -0000 <=
      • Message not available
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member