[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] variables


Subject: RE: [xsl] 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
  • [xsl] variables
    • Bokluci - Tue, 28 Feb 2006 18:53:06 +0100
      • Message not available
      • Florent Georges - Tue, 28 Feb 2006 21:11:57 +0100 (CET) <=