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)//*[(_at_)label=$current_section]/descendant::section
">
<xsl:for-each
select="document($menue_doc)//*[(_at_)label=current()/@uri]
// section">
Regards,
--drkm
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--